Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
This merge resolves conflicts with 75aec9df3a
("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
This commit is contained in:
@@ -85,7 +85,7 @@ static void dn_nsp_send(struct sk_buff *skb)
|
||||
if (dst) {
|
||||
try_again:
|
||||
skb_dst_set(skb, dst);
|
||||
dst_output(skb->sk, skb);
|
||||
dst_output(&init_net, skb->sk, skb);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -582,7 +582,7 @@ static __inline__ void dn_nsp_do_disc(struct sock *sk, unsigned char msgflg,
|
||||
* associations.
|
||||
*/
|
||||
skb_dst_set(skb, dst_clone(dst));
|
||||
dst_output(skb->sk, skb);
|
||||
dst_output(&init_net, skb->sk, skb);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -744,7 +744,7 @@ out:
|
||||
return NET_RX_DROP;
|
||||
}
|
||||
|
||||
static int dn_output(struct sock *sk, struct sk_buff *skb)
|
||||
static int dn_output(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||
{
|
||||
struct dst_entry *dst = skb_dst(skb);
|
||||
struct dn_route *rt = (struct dn_route *)dst;
|
||||
@@ -830,7 +830,7 @@ drop:
|
||||
* Used to catch bugs. This should never normally get
|
||||
* called.
|
||||
*/
|
||||
static int dn_rt_bug_sk(struct sock *sk, struct sk_buff *skb)
|
||||
static int dn_rt_bug_out(struct net *net, struct sock *sk, struct sk_buff *skb)
|
||||
{
|
||||
struct dn_skb_cb *cb = DN_SKB_CB(skb);
|
||||
|
||||
@@ -1467,7 +1467,7 @@ make_route:
|
||||
|
||||
rt->n = neigh;
|
||||
rt->dst.lastuse = jiffies;
|
||||
rt->dst.output = dn_rt_bug_sk;
|
||||
rt->dst.output = dn_rt_bug_out;
|
||||
switch (res.type) {
|
||||
case RTN_UNICAST:
|
||||
rt->dst.input = dn_forward;
|
||||
|
Reference in New Issue
Block a user