Skip to content
  • Pavel Emelyanov's avatar
    [IPV4]: Cleanup the sysctl_net_ipv4.c file · 9ba63979
    Pavel Emelyanov authored
    
    
    This includes several cleanups:
    
     * tune Makefile to compile out this file when SYSCTL=n. Now
       it looks like net/core/sysctl_net_core.c one;
     * move the ipv4_config to af_inet.c to exist all the time;
     * remove additional sysctl_ip_nonlocal_bind declaration
       (it is already declared in net/ip.h);
     * remove no nonger needed ifdefs from this file.
    
    This is a preparation for using ctl paths for net/ipv4/
    sysctl table.
    
    Signed-off-by: default avatarPavel Emelyanov <xemul@openvz.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9ba63979