Deleted Added
full compact
sctp_input.c (172118) sctp_input.c (172156)
1/*-
2 * Copyright (c) 2001-2007, by 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, by 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 172118 2007-09-10 17:06:25Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 172156 2007-09-13 10:36: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>

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

3137 chk,
3138 sctp_next);
3139 if (chk->data) {
3140 sctp_m_freem(chk->data);
3141 chk->data = NULL;
3142 }
3143 asoc->ctrl_queue_cnt--;
3144 sctp_free_a_chunk(stcb, chk);
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>

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

3137 chk,
3138 sctp_next);
3139 if (chk->data) {
3140 sctp_m_freem(chk->data);
3141 chk->data = NULL;
3142 }
3143 asoc->ctrl_queue_cnt--;
3144 sctp_free_a_chunk(stcb, chk);
3145 /* sa_ignore NO_NULL_CHK */
3145 stcb->asoc.str_reset = NULL;
3146}
3147
3148
3149static int
3150sctp_handle_stream_reset_response(struct sctp_tcb *stcb,
3151 uint32_t seq, uint32_t action,
3152 struct sctp_stream_reset_response *respin)

--- 2228 unchanged lines hidden ---
3146 stcb->asoc.str_reset = NULL;
3147}
3148
3149
3150static int
3151sctp_handle_stream_reset_response(struct sctp_tcb *stcb,
3152 uint32_t seq, uint32_t action,
3153 struct sctp_stream_reset_response *respin)

--- 2228 unchanged lines hidden ---