From a1eaa7b5680f97eed721e33385d14fb89f7657f9 Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Thu, 19 Nov 2009 22:59:35 +0000 Subject: MFC 199477 Fix a bug where the system panics when a SHUTDOWN is received with an illegal TSN. This bug was reported by Irene Ruengeler. Approved by: rrs (mentor) --- sys/netinet/sctp_input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys') diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index d1607a057e82..1321450f95a2 100644 --- a/sys/netinet/sctp_input.c +++ b/sys/netinet/sctp_input.c @@ -816,6 +816,9 @@ sctp_handle_shutdown(struct sctp_shutdown_chunk *cp, return; } else { sctp_update_acked(stcb, cp, net, abort_flag); + if (*abort_flag) { + return; + } } if (asoc->control_pdapi) { /* -- cgit v1.3