diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-10-07 21:48:47 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-08 11:27:03 (GMT) |
commit | ede2059dbaf9c6557a49d466c8c7778343b208ff (patch) | |
tree | d6d15cbeb675b52ef22890a2228b5301b1396c45 /drivers/net | |
parent | 33224b16ffccb49cf798317670389e0bfba0024c (diff) | |
download | linux-ede2059dbaf9c6557a49d466c8c7778343b208ff.tar.xz |
dst: Pass net into dst->output
The network namespace is already passed into dst_output pass it into
dst->output lwt->output and friends.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/vrf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 21bb7de..191579a 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -312,10 +312,9 @@ err: return ret; } -static int vrf_output(struct sock *sk, struct sk_buff *skb) +static int vrf_output(struct net *net, struct sock *sk, struct sk_buff *skb) { struct net_device *dev = skb_dst(skb)->dev; - struct net *net = dev_net(dev); IP_UPD_PO_STATS(net, IPSTATS_MIB_OUT, skb->len); |