[IPV4/IPV6]: Always wait for IPSEC SA resolution in socket contexts.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 10:09:21 +0000 (02:09 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:38:45 +0000 (12:38 -0800)
commit8eb9086f21c73b38b5ca27558db4c91d62d0e70b
tree1fa2694f1e5eac966cc8db2fb8d5f3d684b09803
parentba7808eac17360dda459f82222859b0e3879854b
[IPV4/IPV6]: Always wait for IPSEC SA resolution in socket contexts.

Do this even for non-blocking sockets.  This avoids the silly -EAGAIN
that applications can see now, even for non-blocking sockets in some
cases (f.e. connect()).

With help from Venkat Tekkirala.

Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
include/net/route.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/af_inet.c
net/ipv4/datagram.c
net/ipv4/raw.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c
net/ipv6/datagram.c
net/ipv6/raw.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c