diff options
author | tuexen <tuexen@FreeBSD.org> | 2012-05-13 16:56:16 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2012-05-13 16:56:16 +0000 |
commit | abe6735879be578b6996b2fc0ead2dac663118ad (patch) | |
tree | 71f11bbb0d503b2abee0abb7201588683f0a4fd4 /sys/netinet/sctp_usrreq.c | |
parent | 3a7a58a884dbe40a6ccd2e5168783c13fad81e93 (diff) | |
download | FreeBSD-src-abe6735879be578b6996b2fc0ead2dac663118ad.zip FreeBSD-src-abe6735879be578b6996b2fc0ead2dac663118ad.tar.gz |
Use ECONNABORTED in cases where the ABORT was sent to the peer.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r-- | sys/netinet/sctp_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c index 866a590..266e591 100644 --- a/sys/netinet/sctp_usrreq.c +++ b/sys/netinet/sctp_usrreq.c @@ -283,7 +283,7 @@ sctp_notify(struct sctp_inpcb *inp, * now is dead. In either case treat it like a OOTB abort * with no TCB */ - sctp_abort_notification(stcb, 0, NULL, SCTP_SO_NOT_LOCKED); + sctp_abort_notification(stcb, 1, 0, NULL, SCTP_SO_NOT_LOCKED); #if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING) so = SCTP_INP_SO(inp); atomic_add_int(&stcb->asoc.refcnt, 1); |