sctp_pcb.c (172091) | sctp_pcb.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_pcb.c,v 1.38 2005/03/06 16:04:18 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_pcb.c,v 1.38 2005/03/06 16:04:18 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 172091 2007-09-08 17:48:46Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 172156 2007-09-13 10:36:43Z rrs $"); |
35 36#include <netinet/sctp_os.h> 37#include <sys/proc.h> 38#include <netinet/sctp_var.h> 39#include <netinet/sctp_sysctl.h> 40#include <netinet/sctp_pcb.h> 41#include <netinet/sctputil.h> 42#include <netinet/sctp.h> --- 5871 unchanged lines hidden (view full) --- 5914 if (gap == 0) { 5915 /* Nothing left in map */ 5916 memset(asoc->mapping_array, 0, asoc->mapping_array_size); 5917 asoc->mapping_array_base_tsn = asoc->cumulative_tsn + 1; 5918 asoc->highest_tsn_inside_map = asoc->cumulative_tsn; 5919 } 5920 asoc->last_revoke_count = cnt; 5921 (void)SCTP_OS_TIMER_STOP(&stcb->asoc.dack_timer.timer); | 35 36#include <netinet/sctp_os.h> 37#include <sys/proc.h> 38#include <netinet/sctp_var.h> 39#include <netinet/sctp_sysctl.h> 40#include <netinet/sctp_pcb.h> 41#include <netinet/sctputil.h> 42#include <netinet/sctp.h> --- 5871 unchanged lines hidden (view full) --- 5914 if (gap == 0) { 5915 /* Nothing left in map */ 5916 memset(asoc->mapping_array, 0, asoc->mapping_array_size); 5917 asoc->mapping_array_base_tsn = asoc->cumulative_tsn + 1; 5918 asoc->highest_tsn_inside_map = asoc->cumulative_tsn; 5919 } 5920 asoc->last_revoke_count = cnt; 5921 (void)SCTP_OS_TIMER_STOP(&stcb->asoc.dack_timer.timer); |
5922 /* sa_ignore NO_NULL_CHK */ |
|
5922 sctp_send_sack(stcb); 5923 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_DRAIN, SCTP_SO_NOT_LOCKED); 5924 reneged_asoc_ids[reneged_at] = sctp_get_associd(stcb); 5925 reneged_at++; 5926 } 5927 /* 5928 * Another issue, in un-setting the TSN's in the mapping array we 5929 * DID NOT adjust the higest_tsn marker. This will cause one of two --- 116 unchanged lines hidden --- | 5923 sctp_send_sack(stcb); 5924 sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_DRAIN, SCTP_SO_NOT_LOCKED); 5925 reneged_asoc_ids[reneged_at] = sctp_get_associd(stcb); 5926 reneged_at++; 5927 } 5928 /* 5929 * Another issue, in un-setting the TSN's in the mapping array we 5930 * DID NOT adjust the higest_tsn marker. This will cause one of two --- 116 unchanged lines hidden --- |