[IPV6]: Check connect(2) status for IPv6 UDP socket (Re: xfrm_lookup)
authorMitsuru KANDA <mk@linux-ipv6.org>
Sun, 18 Sep 2005 07:30:08 +0000 (00:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Sep 2005 07:30:08 +0000 (00:30 -0700)
commit987905ded3d19c196dae25cac46c569cac9594b8
tree2a4b28b00e11ad15386dd9d5559e7be871e83ee2
parent40abc27066c49b2c13c817154d438431b0303b96
[IPV6]: Check connect(2) status for IPv6 UDP socket (Re: xfrm_lookup)

I think we should cache the per-socket route(dst_entry) only when the
IPv6 UDP socket is connect(2)'ed.
(which is same as IPv4 UDP send behavior)

Signed-off-by: Mitsuru KANDA <mk@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c