Deleted Added
full compact
sctp_asconf.c (170091) sctp_asconf.c (170428)
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_asconf.c,v 1.24 2005/03/06 16:04:16 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_asconf.c,v 1.24 2005/03/06 16:04:16 itojun Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_asconf.c 170091 2007-05-29 09:29:03Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_asconf.c 170428 2007-06-08 10:57:11Z rrs $");
35#include <netinet/sctp_os.h>
36#include <netinet/sctp_var.h>
37#include <netinet/sctp_sysctl.h>
38#include <netinet/sctp_pcb.h>
39#include <netinet/sctp_header.h>
40#include <netinet/sctputil.h>
41#include <netinet/sctp_output.h>
42#include <netinet/sctp_asconf.h>

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

1789 }
1790 /*
1791 * Now we deleted our src address,
1792 * should we not also now reset the
1793 * cwnd/rto to start as if its a new
1794 * address?
1795 */
1796 sctp_set_initial_cc_param(stcb, net);
35#include <netinet/sctp_os.h>
36#include <netinet/sctp_var.h>
37#include <netinet/sctp_sysctl.h>
38#include <netinet/sctp_pcb.h>
39#include <netinet/sctp_header.h>
40#include <netinet/sctputil.h>
41#include <netinet/sctp_output.h>
42#include <netinet/sctp_asconf.h>

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

1789 }
1790 /*
1791 * Now we deleted our src address,
1792 * should we not also now reset the
1793 * cwnd/rto to start as if its a new
1794 * address?
1795 */
1796 sctp_set_initial_cc_param(stcb, net);
1797 net->RTO = stcb->asoc.initial_rto;
1797 net->RTO = 0;
1798
1799 }
1800 }
1801 } else if (type == SCTP_SET_PRIM_ADDR) {
1802 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
1803 /*
1804 * must validate the ifa in question is in
1805 * the ep

--- 810 unchanged lines hidden ---
1798
1799 }
1800 }
1801 } else if (type == SCTP_SET_PRIM_ADDR) {
1802 if ((stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_BOUNDALL) == 0) {
1803 /*
1804 * must validate the ifa in question is in
1805 * the ep

--- 810 unchanged lines hidden ---