Deleted Added
full compact
sctp_input.c (168709) sctp_input.c (168859)
1/*-
2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31/* $KAME: sctp_input.c,v 1.27 2005/03/06 16:04:17 itojun Exp $ */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31/* $KAME: sctp_input.c,v 1.27 2005/03/06 16:04:17 itojun Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 168709 2007-04-14 09:44:09Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 168859 2007-04-19 11:28:43Z rrs $");
35
36#include <netinet/sctp_os.h>
37#include <netinet/sctp_var.h>
38#include <netinet/sctp_sysctl.h>
39#include <netinet/sctp_pcb.h>
40#include <netinet/sctp_header.h>
41#include <netinet/sctputil.h>
42#include <netinet/sctp_output.h>

--- 497 unchanged lines hidden (view full) ---

540 /* notify user of the abort and clean up... */
541 sctp_abort_notification(stcb, 0);
542 /* free the tcb */
543 SCTP_STAT_INCR_COUNTER32(sctps_aborted);
544 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||
545 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
546 SCTP_STAT_DECR_GAUGE32(sctps_currestab);
547 }
35
36#include <netinet/sctp_os.h>
37#include <netinet/sctp_var.h>
38#include <netinet/sctp_sysctl.h>
39#include <netinet/sctp_pcb.h>
40#include <netinet/sctp_header.h>
41#include <netinet/sctputil.h>
42#include <netinet/sctp_output.h>

--- 497 unchanged lines hidden (view full) ---

540 /* notify user of the abort and clean up... */
541 sctp_abort_notification(stcb, 0);
542 /* free the tcb */
543 SCTP_STAT_INCR_COUNTER32(sctps_aborted);
544 if ((SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_OPEN) ||
545 (SCTP_GET_STATE(&stcb->asoc) == SCTP_STATE_SHUTDOWN_RECEIVED)) {
546 SCTP_STAT_DECR_GAUGE32(sctps_currestab);
547 }
548#ifdef SCTP_ASOCLOG_OF_TSNS
549 sctp_print_out_track_log(stcb);
550#endif
548 sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_INPUT + SCTP_LOC_6);
549#ifdef SCTP_DEBUG
550 if (sctp_debug_on & SCTP_DEBUG_INPUT2) {
551 printf("sctp_handle_abort: finished\n");
552 }
553#endif
554}
555

--- 4354 unchanged lines hidden ---
551 sctp_free_assoc(stcb->sctp_ep, stcb, SCTP_NORMAL_PROC, SCTP_FROM_SCTP_INPUT + SCTP_LOC_6);
552#ifdef SCTP_DEBUG
553 if (sctp_debug_on & SCTP_DEBUG_INPUT2) {
554 printf("sctp_handle_abort: finished\n");
555 }
556#endif
557}
558

--- 4354 unchanged lines hidden ---