hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/net/sctp/output.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* SCTP kernel implementation
23 * (C) Copyright IBM Corp. 2001, 2004
34 * Copyright (c) 1999-2000 Cisco, Inc.
....@@ -6,22 +7,6 @@
67 * This file is part of the SCTP kernel implementation
78 *
89 * These functions handle output processing.
9
- *
10
- * This SCTP implementation is free software;
11
- * you can redistribute it and/or modify it under the terms of
12
- * the GNU General Public License as published by
13
- * the Free Software Foundation; either version 2, or (at your option)
14
- * any later version.
15
- *
16
- * This SCTP implementation is distributed in the hope that it
17
- * will be useful, but WITHOUT ANY WARRANTY; without even the implied
18
- * ************************
19
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
- * See the GNU General Public License for more details.
21
- *
22
- * You should have received a copy of the GNU General Public License
23
- * along with GNU CC; see the file COPYING. If not, see
24
- * <http://www.gnu.org/licenses/>.
2510 *
2611 * Please send any bug reports or fixes you make to the
2712 * email address(es):
....@@ -297,6 +282,9 @@
297282 sctp_chunk_free(sack);
298283 goto out;
299284 }
285
+ SCTP_INC_STATS(asoc->base.net,
286
+ SCTP_MIB_OUTCTRLCHUNKS);
287
+ asoc->stats.octrlchunks++;
300288 asoc->peer.sack_needed = 0;
301289 if (del_timer(timer))
302290 sctp_association_put(asoc);