| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * DECnet An implementation of the DECnet protocol suite for the LINUX |
|---|
| 3 | 4 | * operating system. DECnet is implemented using the BSD Socket |
|---|
| .. | .. |
|---|
| 34 | 35 | /****************************************************************************** |
|---|
| 35 | 36 | (c) 1995-1998 E.M. Serrat emserrat@geocities.com |
|---|
| 36 | 37 | |
|---|
| 37 | | - This program is free software; you can redistribute it and/or modify |
|---|
| 38 | | - it under the terms of the GNU General Public License as published by |
|---|
| 39 | | - the Free Software Foundation; either version 2 of the License, or |
|---|
| 40 | | - any later version. |
|---|
| 41 | | - |
|---|
| 42 | | - This program is distributed in the hope that it will be useful, |
|---|
| 43 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 44 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 45 | | - GNU General Public License for more details. |
|---|
| 46 | 38 | *******************************************************************************/ |
|---|
| 47 | 39 | |
|---|
| 48 | 40 | #include <linux/errno.h> |
|---|
| .. | .. |
|---|
| 336 | 328 | return; |
|---|
| 337 | 329 | } |
|---|
| 338 | 330 | |
|---|
| 339 | | - sk->sk_ack_backlog++; |
|---|
| 331 | + sk_acceptq_added(sk); |
|---|
| 340 | 332 | skb_queue_tail(&sk->sk_receive_queue, skb); |
|---|
| 341 | 333 | sk->sk_state_change(sk); |
|---|
| 342 | 334 | } |
|---|
| .. | .. |
|---|
| 491 | 483 | break; |
|---|
| 492 | 484 | case DN_RUN: |
|---|
| 493 | 485 | sk->sk_shutdown |= SHUTDOWN_MASK; |
|---|
| 494 | | - /* fall through */ |
|---|
| 486 | + fallthrough; |
|---|
| 495 | 487 | case DN_CC: |
|---|
| 496 | 488 | scp->state = DN_CN; |
|---|
| 497 | 489 | } |
|---|