• P
    [IPV4]: Cleanup the sysctl_net_ipv4.c file · 9ba63979
    Pavel Emelyanov 提交于
    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: NPavel Emelyanov <xemul@openvz.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    9ba63979
af_inet.c 35.4 KB