diff options
author | tuexen <tuexen@FreeBSD.org> | 2010-06-18 09:01:44 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2010-06-18 09:01:44 +0000 |
commit | de5b3a7add84950b23cc40c7ae54c2a8f2b5a424 (patch) | |
tree | 29d0116c5fb26031fd68c59441ab38de9b3c4b88 /sys/netinet/sctp.h | |
parent | 27ff4601c53f980ad40a3bf372d2273a050908b7 (diff) | |
download | FreeBSD-src-de5b3a7add84950b23cc40c7ae54c2a8f2b5a424.zip FreeBSD-src-de5b3a7add84950b23cc40c7ae54c2a8f2b5a424.tar.gz |
Fix a rece condition in the shutdown handling.
The race condition resulted in a panic.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r-- | sys/netinet/sctp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h index f4d5d6c..ce5ac0a 100644 --- a/sys/netinet/sctp.h +++ b/sys/netinet/sctp.h @@ -442,6 +442,7 @@ struct sctp_error_unrecognized_chunk { #define SCTP_PCB_FLAGS_BLOCKING_IO 0x08000000 #define SCTP_PCB_FLAGS_SOCKET_GONE 0x10000000 #define SCTP_PCB_FLAGS_SOCKET_ALLGONE 0x20000000 +#define SCTP_PCB_FLAGS_SOCKET_CANT_READ 0x40000000 /* flags to copy to new PCB */ #define SCTP_PCB_COPY_FLAGS (SCTP_PCB_FLAGS_BOUNDALL|\ SCTP_PCB_FLAGS_WAKEINPUT|\ |