| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* SCTP kernel implementation |
|---|
| 2 | 3 | * Copyright (c) 2003 International Business Machines, Corp. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * This file is part of the SCTP kernel implementation |
|---|
| 5 | | - * |
|---|
| 6 | | - * This SCTP implementation is free software; |
|---|
| 7 | | - * you can redistribute it and/or modify it under the terms of |
|---|
| 8 | | - * the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2, or (at your option) |
|---|
| 10 | | - * any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This SCTP implementation is distributed in the hope that it |
|---|
| 13 | | - * will be useful, but WITHOUT ANY WARRANTY; without even the implied |
|---|
| 14 | | - * ************************ |
|---|
| 15 | | - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| 16 | | - * See the GNU General Public License for more details. |
|---|
| 17 | | - * |
|---|
| 18 | | - * You should have received a copy of the GNU General Public License |
|---|
| 19 | | - * along with GNU CC; see the file COPYING. If not, see |
|---|
| 20 | | - * <http://www.gnu.org/licenses/>. |
|---|
| 21 | 6 | * |
|---|
| 22 | 7 | * Please send any bug reports or fixes you make to the |
|---|
| 23 | 8 | * email address(es): |
|---|
| .. | .. |
|---|
| 299 | 284 | assoc->init_retries, assoc->shutdown_retries, |
|---|
| 300 | 285 | assoc->rtx_data_chunks, |
|---|
| 301 | 286 | refcount_read(&sk->sk_wmem_alloc), |
|---|
| 302 | | - sk->sk_wmem_queued, |
|---|
| 287 | + READ_ONCE(sk->sk_wmem_queued), |
|---|
| 303 | 288 | sk->sk_sndbuf, |
|---|
| 304 | 289 | sk->sk_rcvbuf); |
|---|
| 305 | 290 | seq_printf(seq, "\n"); |
|---|