diff options
| author | Eric Dumazet <[email protected]> | 2017-09-21 07:50:28 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-21 20:36:32 -0700 |
| commit | a424120765009df13957af20ba4d18e531cfe643 (patch) | |
| tree | b8f19435fb1076301a0660480d6e9415f2e000ca | |
| parent | a1f3316dd7b5ce740c774697c664e2e60d095794 (diff) | |
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 <[email protected]>
Acked-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
| -rw-r--r-- | drivers/net/vrf.c | 1 |
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 |