diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-17 08:11:08 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-10-17 08:28:03 -0400 |
commit | f0a0a978b66fea782a52b0a7075b3fa9ab27ad0a (patch) | |
tree | 52ecc0eafbac697c6afaa542efe324984484120c /net/decnet | |
parent | c8d71d08aa23679f56e7072358383442c6ede352 (diff) | |
parent | 4be3158abe1e02d24f82b34101e41d662fae2185 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
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
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_nsp_out.c | 4 | ||||
-rw-r--r-- | net/decnet/dn_route.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/net/decnet/dn_nsp_out.c b/net/decnet/dn_nsp_out.c index 4b02dd300f50..849805e7af52 100644 --- a/net/decnet/dn_nsp_out.c +++ b/net/decnet/dn_nsp_out.c | |||
@@ -85,7 +85,7 @@ static void dn_nsp_send(struct sk_buff *skb) | |||
85 | if (dst) { | 85 | if (dst) { |
86 | try_again: | 86 | try_again: |
87 | skb_dst_set(skb, dst); | 87 | skb_dst_set(skb, dst); |
88 | dst_output(skb->sk, skb); | 88 | dst_output(&init_net, skb->sk, skb); |
89 | return; | 89 | return; |
90 | } | 90 | } |
91 | 91 | ||
@@ -582,7 +582,7 @@ static __inline__ void dn_nsp_do_disc(struct sock *sk, unsigned char msgflg, | |||
582 | * associations. | 582 | * associations. |
583 | */ | 583 | */ |
584 | skb_dst_set(skb, dst_clone(dst)); | 584 | skb_dst_set(skb, dst_clone(dst)); |
585 | dst_output(skb->sk, skb); | 585 | dst_output(&init_net, skb->sk, skb); |
586 | } | 586 | } |
587 | 587 | ||
588 | 588 | ||
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 0c491fc0e254..607a14f20d88 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -744,7 +744,7 @@ out: | |||
744 | return NET_RX_DROP; | 744 | return NET_RX_DROP; |
745 | } | 745 | } |
746 | 746 | ||
747 | static int dn_output(struct sock *sk, struct sk_buff *skb) | 747 | static int dn_output(struct net *net, struct sock *sk, struct sk_buff *skb) |
748 | { | 748 | { |
749 | struct dst_entry *dst = skb_dst(skb); | 749 | struct dst_entry *dst = skb_dst(skb); |
750 | struct dn_route *rt = (struct dn_route *)dst; | 750 | struct dn_route *rt = (struct dn_route *)dst; |
@@ -830,7 +830,7 @@ drop: | |||
830 | * Used to catch bugs. This should never normally get | 830 | * Used to catch bugs. This should never normally get |
831 | * called. | 831 | * called. |
832 | */ | 832 | */ |
833 | static int dn_rt_bug_sk(struct sock *sk, struct sk_buff *skb) | 833 | static int dn_rt_bug_out(struct net *net, struct sock *sk, struct sk_buff *skb) |
834 | { | 834 | { |
835 | struct dn_skb_cb *cb = DN_SKB_CB(skb); | 835 | struct dn_skb_cb *cb = DN_SKB_CB(skb); |
836 | 836 | ||
@@ -1467,7 +1467,7 @@ make_route: | |||
1467 | 1467 | ||
1468 | rt->n = neigh; | 1468 | rt->n = neigh; |
1469 | rt->dst.lastuse = jiffies; | 1469 | rt->dst.lastuse = jiffies; |
1470 | rt->dst.output = dn_rt_bug_sk; | 1470 | rt->dst.output = dn_rt_bug_out; |
1471 | switch (res.type) { | 1471 | switch (res.type) { |
1472 | case RTN_UNICAST: | 1472 | case RTN_UNICAST: |
1473 | rt->dst.input = dn_forward; | 1473 | rt->dst.input = dn_forward; |