Forráskód Böngészése

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>
Eric Dumazet 8 éve
szülő
commit
a424120765
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      drivers/net/vrf.c

+ 0 - 1
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