]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Use cork flow in ip_queue_xmit()
authorDavid S. Miller <davem@davemloft.net>
Fri, 6 May 2011 23:24:06 +0000 (16:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2011 21:05:14 +0000 (14:05 -0700)
commit639943bd6eb08989fe072d9a9b8233970b1d53a3
tree14e18d9c67111e2fe44bad96b062794f3c14c98d
parent9fc2e1fe0d50be89ef4973ef981802125b179bc8
ipv4: Use cork flow in ip_queue_xmit()

All invokers of ip_queue_xmit() must make certain that the
socket is locked.  All of SCTP, TCP, DCCP, and L2TP now make
sure this is the case.

Therefore we can use the cork flow during output route lookup in
ip_queue_xmit() when the socket route check fails.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c