Merge branch 'master' of /repos/git/net-next-2.6
authorPatrick McHardy <kaber@trash.net>
Wed, 10 Feb 2010 13:17:10 +0000 (14:17 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 10 Feb 2010 13:17:10 +0000 (14:17 +0100)
Signed-off-by: Patrick McHardy <kaber@trash.net>
1  2 
include/net/netns/ipv4.h
net/bridge/netfilter/ebtables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c
net/netfilter/ipvs/Kconfig
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_helper.c
net/netfilter/nf_conntrack_netlink.c

@@@ -37,11 -37,10 +37,12 @@@ struct netns_ipv4 
        struct xt_table         *iptable_mangle;
        struct xt_table         *iptable_raw;
        struct xt_table         *arptable_filter;
 +#ifdef CONFIG_SECURITY
        struct xt_table         *iptable_security;
 +#endif
        struct xt_table         *nat_table;
        struct hlist_head       *nat_bysource;
+       unsigned int            nat_htable_size;
        int                     nat_vmalloced;
  #endif
  
Simple merge
Simple merge
Simple merge
@@@ -745,10 -745,10 +745,10 @@@ static inline void ip6_frags_sysctl_unr
  }
  #endif
  
- static int ipv6_frags_init_net(struct net *net)
+ static int __net_init ipv6_frags_init_net(struct net *net)
  {
 -      net->ipv6.frags.high_thresh = 256 * 1024;
 -      net->ipv6.frags.low_thresh = 192 * 1024;
 +      net->ipv6.frags.high_thresh = IPV6_FRAG_HIGH_THRESH;
 +      net->ipv6.frags.low_thresh = IPV6_FRAG_LOW_THRESH;
        net->ipv6.frags.timeout = IPV6_FRAG_TIMEOUT;
  
        inet_frags_init_net(&net->ipv6.frags);
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -599,9 -594,9 +599,9 @@@ ctnetlink_dump_table(struct sk_buff *sk
  
        rcu_read_lock();
        last = (struct nf_conn *)cb->args[1];
-       for (; cb->args[0] < nf_conntrack_htable_size; cb->args[0]++) {
 -      for (; cb->args[0] < init_net.ct.htable_size; cb->args[0]++) {
++      for (; cb->args[0] < net->ct.htable_size; cb->args[0]++) {
  restart:
 -              hlist_nulls_for_each_entry_rcu(h, n, &init_net.ct.hash[cb->args[0]],
 +              hlist_nulls_for_each_entry_rcu(h, n, &net->ct.hash[cb->args[0]],
                                         hnnode) {
                        if (NF_CT_DIRECTION(h) != IP_CT_DIR_ORIGINAL)
                                continue;