summaryrefslogtreecommitdiffstats
path: root/drivers/net/vrf.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-09-21 07:50:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-21 20:36:32 -0700
commita424120765009df13957af20ba4d18e531cfe643 (patch)
treeb8f19435fb1076301a0660480d6e9415f2e000ca /drivers/net/vrf.c
parenta1f3316dd7b5ce740c774697c664e2e60d095794 (diff)
downloadlinux-a424120765009df13957af20ba4d18e531cfe643.tar.bz2
net: vrf: remove skb_dst_force() after skb_dst_set()
skb_dst_set(skb, dst) installs a normal (refcounted) dst, there is no point using skb_dst_force(skb) Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r--drivers/net/vrf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index 9b243e6f3008..cc18b7b11612 100644
--- a/drivers/net/vrf.c
+++ b/drivers/net/vrf.c
@@ -132,7 +132,6 @@ static int vrf_local_xmit(struct sk_buff *skb, struct net_device *dev,
skb_orphan(skb);
skb_dst_set(skb, dst);
- skb_dst_force(skb);
/* set pkt_type to avoid skb hitting packet taps twice -
* once on Tx and again in Rx processing