sctp6_usrreq.c (9f0abda05115a42fe90450e657ed81a7035d2cb2) sctp6_usrreq.c (efcf28ef77f494be5cfa5f0f46c099ddfbf92754)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

218#if defined(__APPLE__) || defined(SCTP_SO_LOCK_TESTING)
219 SCTP_SOCKET_UNLOCK(so, 1);
220#endif
221 } else {
222 SCTP_TCB_UNLOCK(stcb);
223 }
224 break;
225 case ICMP6_PACKET_TOO_BIG:
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved.
6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

218#if defined(__APPLE__) || defined(SCTP_SO_LOCK_TESTING)
219 SCTP_SOCKET_UNLOCK(so, 1);
220#endif
221 } else {
222 SCTP_TCB_UNLOCK(stcb);
223 }
224 break;
225 case ICMP6_PACKET_TOO_BIG:
226 if ((net->dest_state & SCTP_ADDR_NO_PMTUD) == 0) {
226 if (net->dest_state & SCTP_ADDR_NO_PMTUD) {
227 SCTP_TCB_UNLOCK(stcb);
228 break;
229 }
230 if (SCTP_OS_TIMER_PENDING(&net->pmtu_timer.timer)) {
231 timer_stopped = 1;
232 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net,
233 SCTP_FROM_SCTP_USRREQ + SCTP_LOC_1);
234 } else {

--- 950 unchanged lines hidden ---
227 SCTP_TCB_UNLOCK(stcb);
228 break;
229 }
230 if (SCTP_OS_TIMER_PENDING(&net->pmtu_timer.timer)) {
231 timer_stopped = 1;
232 sctp_timer_stop(SCTP_TIMER_TYPE_PATHMTURAISE, inp, stcb, net,
233 SCTP_FROM_SCTP_USRREQ + SCTP_LOC_1);
234 } else {

--- 950 unchanged lines hidden ---