Skip to content

Commit a424120

Browse files
edumazetdavem330
authored andcommitted
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>
1 parent a1f3316 commit a424120

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/vrf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ static int vrf_local_xmit(struct sk_buff *skb, struct net_device *dev,
132132
skb_orphan(skb);
133133

134134
skb_dst_set(skb, dst);
135-
skb_dst_force(skb);
136135

137136
/* set pkt_type to avoid skb hitting packet taps twice -
138137
* once on Tx and again in Rx processing

0 commit comments

Comments
 (0)