SCTP: Abort on COOKIE-ECHO if backlog is exceeded.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 30 Aug 2007 18:10:59 +0000 (03:10 +0900)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Thu, 30 Aug 2007 18:12:25 +0000 (14:12 -0400)
commit609ee4679b8a0831257552dd2b0e54f509ba0c77
tree2a7a4bc4848de6fb6b0bd502e358f2893cfe71d3
parent498d63071ef378e201979e441aefcc6565702ca7
SCTP: Abort on COOKIE-ECHO if backlog is exceeded.

Currently we abort on the INIT chunk we our backlog is currenlty
exceeded.  Delay this about untill COOKIE-ECHO to give the user
time to accept the socket.  Also, make sure that we treat
sk_max_backlog of 0 as no connections allowed.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/sm_statefuns.c