aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-09-15 21:03:53 -0400
committerDavid S. Miller <davem@davemloft.net>2015-09-17 20:18:32 -0400
commit5a70649e0dae02ba5090540fffce667d2300bc5a (patch)
tree38e18ea126c7665eebaf3ff3231a43522929a115 /net/decnet
parenta6568b2425daffc7b21ae63b6601b57ae14b5cb8 (diff)
net: Merge dst_output and dst_output_sk
Add a sock paramter to dst_output making dst_output_sk superfluous. Add a skb->sk parameter to all of the callers of dst_output Have the callers of dst_output_sk call dst_output. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/dn_nsp_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_nsp_out.c b/net/decnet/dn_nsp_out.c
index 1aaa51ebbda6..4b02dd300f50 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) {
86try_again: 86try_again:
87 skb_dst_set(skb, dst); 87 skb_dst_set(skb, dst);
88 dst_output(skb); 88 dst_output(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); 585 dst_output(skb->sk, skb);
586} 586}
587 587
588 588