[rfc] IPVS: Remove conditionally include sysctl code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the case where CONFIG_SYSCTL is undefined related
control code in IPVS is unnecessary. This patch series
attempts to make the inclusion of all such code
conditional on CONFIG_SYSCTL.

The changes are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-test-2.6.git config-sysctl

I consider these changes as an RFC at this stage and would
appreciate review or other feedback.

If this series is successful I will examine what if any similar
changes are appropriate for the case where CONFIG_PROC_FS is undefined.

Simon Horman (14):
      IPVS: Add ip_vs_route_me_harder()
      IPVS: Add sysctl_snat_reroute()
      IPVS: Add sysctl_nat_icmp_send()
      IPVS: Add {sysctl_sync_threshold,period}()
      IPVS: Add sysctl_sync_ver()
      IPVS: Add sysctl_expire_nodest_conn()
      IPVS: Add expire_quiescent_template()
      IPVS: Conditinally use sysctl_lblc{r}_expiration
      IPVS: ip_vs_todrop() becomes a noop when CONFIG_SYSCTL is undefined
      IPVS: Conditional ip_vs_conntrack_enabled()
      IPVS: Minimise ip_vs_leave when CONFIG_SYSCTL is undefined
      IPVS: Conditionally define and use ip_vs_lblc{r}_table
      IPVS: Add __ip_vs_control_{init,cleanup}_sysctl()
      IPVS: Conditionally include sysctl members of struct netns_ipvs

 include/net/ip_vs.h              |    8 +++
 include/net/netns/ip_vs.h        |   61 ++++++++++++++++++---
 net/netfilter/ipvs/ip_vs_conn.c  |   13 ++++-
 net/netfilter/ipvs/ip_vs_core.c  |   98 ++++++++++++++++++++------------
 net/netfilter/ipvs/ip_vs_ctl.c   |  114 +++++++++++++++++++++++--------------
 net/netfilter/ipvs/ip_vs_lblc.c  |   31 ++++++++---
 net/netfilter/ipvs/ip_vs_lblcr.c |   35 ++++++++---
 net/netfilter/ipvs/ip_vs_sync.c  |    8 +-
 8 files changed, 256 insertions(+), 112 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux