commit | 15c2d75f49189e1769c5e8f5f099d03d055c4910 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Dec 07 00:30:37 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 08 10:39:54 2010 -0800 |
tree | ba8ba52d99f81bf988cb83cfb57ab234b8215276 | |
parent | 62ab0812137ec4f9884dd7de346238841ac03283 [diff] |
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>