aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2012-05-13 16:56:16 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2012-05-13 16:56:16 +0000
commit410a3b1ef039923d2c67e055c535ab2cfe419a68 (patch)
tree71f11bbb0d503b2abee0abb7201588683f0a4fd4 /sys/netinet6
parent58411b08218b4376ba2c12eb09f1a5869abc33fc (diff)
downloadsrc-410a3b1ef039923d2c67e055c535ab2cfe419a68.tar.gz
src-410a3b1ef039923d2c67e055c535ab2cfe419a68.zip
Use ECONNABORTED in cases where the ABORT was sent to the peer.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=235403
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/sctp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/sctp6_usrreq.c b/sys/netinet6/sctp6_usrreq.c
index 65596e640543..77adc6e27479 100644
--- a/sys/netinet6/sctp6_usrreq.c
+++ b/sys/netinet6/sctp6_usrreq.c
@@ -439,7 +439,7 @@ sctp6_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);