ipv4: Lock socket and use cork flow in ip4_datagram_connect().
commit3038eeac027d8ec62e4936143498f2b37baf4cb5
authorDavid S. Miller <davem@davemloft.net>
Sat, 7 May 2011 05:27:25 +0000 (6 22:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 May 2011 20:48:57 +0000 (8 13:48 -0700)
tree6bbc1d63430437c9f0d3cd65c6d1b2254515834a
parentfdbb0f076b065a0c753ba26925f10357505f1d42
ipv4: Lock socket and use cork flow in ip4_datagram_connect().

This is to make sure that an l2tp socket's inet cork flow is
fully filled in, when it's encapsulated in UDP.

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