Date: Wed, 18 Nov 2009 12:17:06 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199477 - head/sys/netinet Message-ID: <200911181217.nAICH6kp070841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Wed Nov 18 12:17:06 2009 New Revision: 199477 URL: http://svn.freebsd.org/changeset/base/199477 Log: Fix a bug where the system panics when a SHUTDOWN is received with an illegal TSN. Approved by: rrs (mentor) MFC after: ASAP Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c ============================================================================== --- head/sys/netinet/sctp_input.c Wed Nov 18 09:20:04 2009 (r199476) +++ head/sys/netinet/sctp_input.c Wed Nov 18 12:17:06 2009 (r199477) @@ -834,6 +834,9 @@ sctp_handle_shutdown(struct sctp_shutdow return; } else { sctp_update_acked(stcb, cp, net, abort_flag); + if (*abort_flag) { + return; + } } if (asoc->control_pdapi) { /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911181217.nAICH6kp070841>