Author: tuexen
Date: Wed Nov 18 15:35:03 2009
New Revision: 199484
URL: http://svn.freebsd.org/changeset/base/199484

Log:
  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: re, rrs (mentor)

Modified:
  stable/8/sys/netinet/sctp_input.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/netinet/sctp_input.c
==============================================================================
--- stable/8/sys/netinet/sctp_input.c   Wed Nov 18 15:14:47 2009        
(r199483)
+++ stable/8/sys/netinet/sctp_input.c   Wed Nov 18 15:35:03 2009        
(r199484)
@@ -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) {
                /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to