]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - net/ipv4/ip_output.c
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)
commitb57ae01a8a8446dbbed7365c9b05aef1fc6dea20
tree14e18d9c67111e2fe44bad96b062794f3c14c98d
parent6e869138101bc607e4780187210b79d531f9b2ce
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