]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This fixes a bug with the one-2-one model socket when a
authorrrs <rrs@FreeBSD.org>
Tue, 11 May 2010 17:02:29 +0000 (17:02 +0000)
committerrrs <rrs@FreeBSD.org>
Tue, 11 May 2010 17:02:29 +0000 (17:02 +0000)
commitf0f6266342a9b10f9eaac9e968aabb3769b9d3e5
tree5a6d9c418f24b6f2d62b90370b6c28e3887aee42
parent13e644c236ca3b1e5586457826f428eca8903282
This fixes a bug with the one-2-one model socket when a
user sets up a socket to a server sends data and closes
the socket before the server has called accept(). It used
to NOT work at all. Now we add a flag to the assoc and
defer assoc cleanup so that the accept will suceed.
sys/netinet/sctp_constants.h
sys/netinet/sctp_input.c
sys/netinet/sctp_pcb.c
sys/netinet/sctp_usrreq.c