The socket could have been bind()'d to, in which case it will
not move to connected state and we still need to invoke
the disconnect methods such as udp_disconnect() to clear out
that binding.
Ok.
You seem to be groveling in random areas of the ipv4 and ipv6 stack,
what are you working on?
From: Brian Haley <[EMAIL PROTECTED]>
Date: Tue, 01 Aug 2006 15:48:54 -0400
> Calling connect() with AF_UNSPEC will disconnect a socket, but we don't
> need to do any work if the socket isn't currently connected.
>
> Signed-off-by: Brian Haley <[EMAIL PROTECTED]>
The socket could have been bind
Calling connect() with AF_UNSPEC will disconnect a socket, but we don't
need to do any work if the socket isn't currently connected.
Signed-off-by: Brian Haley <[EMAIL PROTECTED]>
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index c84a320..b294b92 100644
--- a/net/ipv4/af_inet.c
+++ b/ne