hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/decnet/dn_nsp_in.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * DECnet An implementation of the DECnet protocol suite for the LINUX
34 * operating system. DECnet is implemented using the BSD Socket
....@@ -34,15 +35,6 @@
3435 /******************************************************************************
3536 (c) 1995-1998 E.M. Serrat emserrat@geocities.com
3637
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.
4638 *******************************************************************************/
4739
4840 #include <linux/errno.h>
....@@ -336,7 +328,7 @@
336328 return;
337329 }
338330
339
- sk->sk_ack_backlog++;
331
+ sk_acceptq_added(sk);
340332 skb_queue_tail(&sk->sk_receive_queue, skb);
341333 sk->sk_state_change(sk);
342334 }
....@@ -491,7 +483,7 @@
491483 break;
492484 case DN_RUN:
493485 sk->sk_shutdown |= SHUTDOWN_MASK;
494
- /* fall through */
486
+ fallthrough;
495487 case DN_CC:
496488 scp->state = DN_CN;
497489 }