[SCTP]: Fix SCTP_SHUTDOWN notifications.
authorSridhar Samudrala <sri@us.ibm.com>
Fri, 23 Sep 2005 06:48:38 +0000 (23:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2005 06:48:38 +0000 (23:48 -0700)
commiteb0e0076878a4f9e8e6e7e524ded0d6f7d4a6130
tree456e8ec8ac8fe9f646748456a575b25919dba230
parent1dfbab59498d6f227c91988bab6c71af049a5333
[SCTP]: Fix SCTP_SHUTDOWN notifications.

Fix to allow SCTP_SHUTDOWN notifications to be received on 1-1 style
SCTP SOCK_STREAM sockets.

Add SCTP_SHUTDOWN notification to the receive queue before updating
the state of the association.

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c