net: call dev_queue_xmit_nit() after skb_dst_drop()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 7 Dec 2010 00:30:37 +0000 (00:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 18:39:54 +0000 (10:39 -0800)
commit15c2d75f49189e1769c5e8f5f099d03d055c4910
treeba8ba52d99f81bf988cb83cfb57ab234b8215276
parent62ab0812137ec4f9884dd7de346238841ac03283
net: call dev_queue_xmit_nit() after skb_dst_drop()

Avoid some atomic ops on dst refcount, calling dev_queue_xmit_nit()
after skb_dst_drop() in dev_hard_start_xmit().

When queueing a packet into af_packet socket, we drop dst anyway.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c