commit | ab6e3feba1f1bc3b9418b854da6f481408d243de | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon May 10 11:31:49 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 17 17:18:52 2010 -0700 |
tree | 18977292fa858067f7cc4d7a7df8a69dd5562a3d | |
parent | 4a94445c9a5cf5461fb41d80040033b9a8e2a85a [diff] |
net: No dst refcounting in ip_queue_xmit() TCP outgoing packets can avoid two atomic ops, and dirtying of previously higly contended cache line using new refdst infrastructure. Note 1: loopback device excluded because of !IFF_XMIT_DST_RELEASE Note 2: UDP packets dsts are built before ip_queue_xmit(). Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>