Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net...
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 17 Oct 2015 12:11:08 +0000 (14:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 17 Oct 2015 12:28:03 +0000 (14:28 +0200)
This merge resolves conflicts with 75aec9df3a78 ("bridge: Remove
br_nf_push_frag_xmit_sk") as part of Eric Biederman's effort to improve
netns support in the network stack that reached upstream via David's
net-next tree.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Conflicts:
net/bridge/br_netfilter_hooks.c

1  2 
net/bridge/br_netfilter_hooks.c
net/decnet/dn_route.c
net/ipv4/netfilter/ipt_SYNPROXY.c
net/ipv4/netfilter/nf_defrag_ipv4.c
net/ipv6/netfilter/ip6t_SYNPROXY.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
net/ipv6/netfilter/nf_reject_ipv6.c
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/nfnetlink_log.c
security/selinux/hooks.c

index 9d3051916a64b63753c5c02d12b9fc7b44e10fd5,370aa4d4cf4d3866624dbcdec6ad339ae302cd9a..7ddbe7ec81d61d4971b919c5988e7bed93436dec
@@@ -688,15 -691,12 +688,10 @@@ static int br_nf_push_frag_xmit(struct 
        nf_bridge_info_free(skb);
        return br_dev_queue_push_xmit(net, sk, skb);
  }
- static int br_nf_push_frag_xmit_sk(struct sock *sk, struct sk_buff *skb)
- {
-       struct net *net = dev_net(skb_dst(skb)->dev);
-       return br_nf_push_frag_xmit(net, sk, skb);
- }
 -#endif
  
 -#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
  static int
  br_nf_ip_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
-                 int (*output)(struct sock *, struct sk_buff *))
+                 int (*output)(struct net *, struct sock *, struct sk_buff *))
  {
        unsigned int mtu = ip_skb_dst_mtu(skb);
        struct iphdr *iph = ip_hdr(skb);
                return -EMSGSIZE;
        }
  
-       return ip_do_fragment(sk, skb, output);
+       return ip_do_fragment(net, sk, skb, output);
  }
 -#endif
  
  static unsigned int nf_bridge_mtu_reduction(const struct sk_buff *skb)
  {
@@@ -757,10 -758,11 +752,10 @@@ static int br_nf_dev_queue_xmit(struct 
                skb_copy_from_linear_data_offset(skb, -data->size, data->mac,
                                                 data->size);
  
-               return br_nf_ip_fragment(net, sk, skb, br_nf_push_frag_xmit_sk);
+               return br_nf_ip_fragment(net, sk, skb, br_nf_push_frag_xmit);
        }
 -#endif
 -#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
 -      if (skb->protocol == htons(ETH_P_IPV6)) {
 +      if (IS_ENABLED(CONFIG_NF_DEFRAG_IPV6) &&
 +          skb->protocol == htons(ETH_P_IPV6)) {
                const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops();
                struct brnf_frag_data *data;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge