net: No dst refcounting in ip_queue_xmit()
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 10 May 2010 11:31:49 +0000 (11:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:18:52 +0000 (17:18 -0700)
commitab6e3feba1f1bc3b9418b854da6f481408d243de
tree18977292fa858067f7cc4d7a7df8a69dd5562a3d
parent4a94445c9a5cf5461fb41d80040033b9a8e2a85a
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>
net/ipv4/ip_output.c