svn commit: r359156 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Mar 19 23:07:55 UTC 2020
Author: tuexen
Date: Thu Mar 19 23:07:52 2020
New Revision: 359156
URL: https://svnweb.freebsd.org/changeset/base/359156
Log:
A a missing NET_EPOCH_ENTER/NET_EPOCH_EXIT pair. This was affecting
implicit connection setups via sendmsg().
Reported by: syzbot+febbe3383a0e9b700c1b at syzkaller.appspotmail.com
Reported by: syzbot+dca98631455d790223ca at syzkaller.appspotmail.com
Reported by: syzbot+5a71a7760d6bcf11b8cd at syzkaller.appspotmail.com
Reported by: syzbot+da64217e140444c49f00 at syzkaller.appspotmail.com
Modified:
head/sys/netinet/sctp_output.c
Modified: head/sys/netinet/sctp_output.c
==============================================================================
--- head/sys/netinet/sctp_output.c Thu Mar 19 22:33:24 2020 (r359155)
+++ head/sys/netinet/sctp_output.c Thu Mar 19 23:07:52 2020 (r359156)
@@ -13647,7 +13647,9 @@ skip_out_eof:
/* a collision took us forward? */
queue_only = 0;
} else {
+ NET_EPOCH_ENTER(et);
sctp_send_initiate(inp, stcb, SCTP_SO_LOCKED);
+ NET_EPOCH_EXIT(et);
SCTP_SET_STATE(stcb, SCTP_STATE_COOKIE_WAIT);
queue_only = 1;
}
More information about the svn-src-head
mailing list