| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* SCTP kernel implementation |
|---|
| 2 | 3 | * (C) Copyright IBM Corp. 2001, 2004 |
|---|
| 3 | 4 | * Copyright (c) 1999-2000 Cisco, Inc. |
|---|
| .. | .. |
|---|
| 6 | 7 | * This file is part of the SCTP kernel implementation |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * 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/>. |
|---|
| 25 | 10 | * |
|---|
| 26 | 11 | * Please send any bug reports or fixes you make to the |
|---|
| 27 | 12 | * email address(es): |
|---|
| .. | .. |
|---|
| 297 | 282 | sctp_chunk_free(sack); |
|---|
| 298 | 283 | goto out; |
|---|
| 299 | 284 | } |
|---|
| 285 | + SCTP_INC_STATS(asoc->base.net, |
|---|
| 286 | + SCTP_MIB_OUTCTRLCHUNKS); |
|---|
| 287 | + asoc->stats.octrlchunks++; |
|---|
| 300 | 288 | asoc->peer.sack_needed = 0; |
|---|
| 301 | 289 | if (del_timer(timer)) |
|---|
| 302 | 290 | sctp_association_put(asoc); |
|---|