ipv4: Use cork flow in inet_sk_{reselect_saddr,rebuild_header}()
authorDavid S. Miller <davem@davemloft.net>
Fri, 6 May 2011 23:18:04 +0000 (16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2011 21:05:13 +0000 (14:05 -0700)
commit6e869138101bc607e4780187210b79d531f9b2ce
treefe85b2fb73b2658684d27f7d90188f8d735ad9c1
parent3038eeac027d8ec62e4936143498f2b37baf4cb5
ipv4: Use cork flow in inet_sk_{reselect_saddr,rebuild_header}()

These two functions must be invoked only when the socket is locked
(because socket identity modifications are made non-atomically).

Therefore we can use the cork flow for output route lookups.

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