diff options
Diffstat (limited to 'net')
304 files changed, 304 insertions, 1294 deletions
diff --git a/net/802/garp.c b/net/802/garp.c index 7f50d47470bd..400bd857e5f5 100644 --- a/net/802/garp.c +++ b/net/802/garp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IEEE 802.1D Generic Attribute Registration Protocol (GARP) | 3 | * IEEE 802.1D Generic Attribute Registration Protocol (GARP) |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
| 11 | #include <linux/timer.h> | 8 | #include <linux/timer.h> |
diff --git a/net/802/mrp.c b/net/802/mrp.c index a808dd5bbb27..2cfdfbfbb2ed 100644 --- a/net/802/mrp.c +++ b/net/802/mrp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IEEE 802.1Q Multiple Registration Protocol (MRP) | 3 | * IEEE 802.1Q Multiple Registration Protocol (MRP) |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Adapted from code in net/802/garp.c | 7 | * Adapted from code in net/802/garp.c |
| 7 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 8 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * version 2 as published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
| 14 | #include <linux/timer.h> | 11 | #include <linux/timer.h> |
diff --git a/net/802/stp.c b/net/802/stp.c index 2c40ba0ec116..d550d9f88f60 100644 --- a/net/802/stp.c +++ b/net/802/stp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * STP SAP demux | 3 | * STP SAP demux |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/mutex.h> | 7 | #include <linux/mutex.h> |
| 11 | #include <linux/skbuff.h> | 8 | #include <linux/skbuff.h> |
diff --git a/net/8021q/vlan_gvrp.c b/net/8021q/vlan_gvrp.c index 66a80320b032..6b34b72aa466 100644 --- a/net/8021q/vlan_gvrp.c +++ b/net/8021q/vlan_gvrp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IEEE 802.1Q GARP VLAN Registration Protocol (GVRP) | 3 | * IEEE 802.1Q GARP VLAN Registration Protocol (GVRP) |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/types.h> | 7 | #include <linux/types.h> |
| 11 | #include <linux/if_vlan.h> | 8 | #include <linux/if_vlan.h> |
diff --git a/net/8021q/vlan_mvrp.c b/net/8021q/vlan_mvrp.c index e0fe091801b0..689eceeaa360 100644 --- a/net/8021q/vlan_mvrp.c +++ b/net/8021q/vlan_mvrp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IEEE 802.1Q Multiple VLAN Registration Protocol (MVRP) | 3 | * IEEE 802.1Q Multiple VLAN Registration Protocol (MVRP) |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Adapted from code in net/8021q/vlan_gvrp.c | 7 | * Adapted from code in net/8021q/vlan_gvrp.c |
| 7 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 8 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or | ||
| 10 | * modify it under the terms of the GNU General Public License | ||
| 11 | * version 2 as published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | #include <linux/types.h> | 10 | #include <linux/types.h> |
| 14 | #include <linux/if_ether.h> | 11 | #include <linux/if_ether.h> |
diff --git a/net/8021q/vlan_netlink.c b/net/8021q/vlan_netlink.c index 24eebbc92364..c482a6fe9393 100644 --- a/net/8021q/vlan_netlink.c +++ b/net/8021q/vlan_netlink.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * VLAN netlink control interface | 3 | * VLAN netlink control interface |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2007 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2007 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/net/bluetooth/bnep/bnep.h b/net/bluetooth/bnep/bnep.h index 40854c99bc1e..24f18b133959 100644 --- a/net/bluetooth/bnep/bnep.h +++ b/net/bluetooth/bnep/bnep.h | |||
| @@ -1,18 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | BNEP protocol definition for Linux Bluetooth stack (BlueZ). | 3 | BNEP protocol definition for Linux Bluetooth stack (BlueZ). |
| 3 | Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com> | 4 | Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com> |
| 4 | 5 | ||
| 5 | This program is free software; you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License, version 2, as | ||
| 7 | published by the Free Software Foundation. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | 6 | */ |
| 17 | 7 | ||
| 18 | #ifndef _BNEP_H | 8 | #ifndef _BNEP_H |
diff --git a/net/bluetooth/leds.c b/net/bluetooth/leds.c index 6d59a5023231..f46847632ffa 100644 --- a/net/bluetooth/leds.c +++ b/net/bluetooth/leds.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com> | 3 | * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <net/bluetooth/bluetooth.h> | 6 | #include <net/bluetooth/bluetooth.h> |
diff --git a/net/bluetooth/leds.h b/net/bluetooth/leds.h index 08725a2fbd9b..bb5e09204436 100644 --- a/net/bluetooth/leds.h +++ b/net/bluetooth/leds.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com> | 3 | * Copyright 2015, Heiner Kallweit <hkallweit1@gmail.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #if IS_ENABLED(CONFIG_BT_LEDS) | 6 | #if IS_ENABLED(CONFIG_BT_LEDS) |
diff --git a/net/bridge/netfilter/nf_log_bridge.c b/net/bridge/netfilter/nf_log_bridge.c index bd2b3c78f59b..1ad61d1017b6 100644 --- a/net/bridge/netfilter/nf_log_bridge.c +++ b/net/bridge/netfilter/nf_log_bridge.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2014 by Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * (C) 2014 by Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/bridge/netfilter/nft_reject_bridge.c b/net/bridge/netfilter/nft_reject_bridge.c index 1b1856744c80..b325b569e761 100644 --- a/net/bridge/netfilter/nft_reject_bridge.c +++ b/net/bridge/netfilter/nft_reject_bridge.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2014 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h index 3284bfa988c0..d2c4220fb377 100644 --- a/net/dccp/ackvec.h +++ b/net/dccp/ackvec.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _ACKVEC_H | 2 | #ifndef _ACKVEC_H |
| 2 | #define _ACKVEC_H | 3 | #define _ACKVEC_H |
| 3 | /* | 4 | /* |
| @@ -6,9 +7,6 @@ | |||
| 6 | * An implementation of Ack Vectors for the DCCP protocol | 7 | * An implementation of Ack Vectors for the DCCP protocol |
| 7 | * Copyright (c) 2007 University of Aberdeen, Scotland, UK | 8 | * Copyright (c) 2007 University of Aberdeen, Scotland, UK |
| 8 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@mandriva.com> | 9 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@mandriva.com> |
| 9 | * This program is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 10 | */ |
| 13 | 11 | ||
| 14 | #include <linux/dccp.h> | 12 | #include <linux/dccp.h> |
diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c index 90f77d08cc37..1e9bb121ba72 100644 --- a/net/dccp/ccid.c +++ b/net/dccp/ccid.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/dccp/ccid.c | 3 | * net/dccp/ccid.c |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 6 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| 6 | * | 7 | * |
| 7 | * CCID infrastructure | 8 | * CCID infrastructure |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
diff --git a/net/dccp/ccid.h b/net/dccp/ccid.h index baaaeb2b2c42..70f88f2b4456 100644 --- a/net/dccp/ccid.h +++ b/net/dccp/ccid.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _CCID_H | 2 | #ifndef _CCID_H |
| 2 | #define _CCID_H | 3 | #define _CCID_H |
| 3 | /* | 4 | /* |
| @@ -7,10 +8,6 @@ | |||
| 7 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 8 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| 8 | * | 9 | * |
| 9 | * CCID infrastructure | 10 | * CCID infrastructure |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify it | ||
| 12 | * under the terms of the GNU General Public License version 2 as | ||
| 13 | * published by the Free Software Foundation. | ||
| 14 | */ | 11 | */ |
| 15 | 12 | ||
| 16 | #include <net/sock.h> | 13 | #include <net/sock.h> |
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index f91e3816806b..9c3b27c257bb 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _DCCP_H | 2 | #ifndef _DCCP_H |
| 2 | #define _DCCP_H | 3 | #define _DCCP_H |
| 3 | /* | 4 | /* |
| @@ -6,10 +7,6 @@ | |||
| 6 | * An implementation of the DCCP protocol | 7 | * An implementation of the DCCP protocol |
| 7 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 8 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| 8 | * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz> | 9 | * Copyright (c) 2005-6 Ian McDonald <ian.mcdonald@jandi.co.nz> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify it | ||
| 11 | * under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #include <linux/dccp.h> | 12 | #include <linux/dccp.h> |
diff --git a/net/dccp/diag.c b/net/dccp/diag.c index 2d84303ea6bf..73ef73a218ff 100644 --- a/net/dccp/diag.c +++ b/net/dccp/diag.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/dccp/diag.c | 3 | * net/dccp/diag.c |
| 3 | * | 4 | * |
| 4 | * An implementation of the DCCP protocol | 5 | * An implementation of the DCCP protocol |
| 5 | * Arnaldo Carvalho de Melo <acme@mandriva.com> | 6 | * Arnaldo Carvalho de Melo <acme@mandriva.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | 9 | ||
diff --git a/net/dccp/feat.h b/net/dccp/feat.h index 0e75cebb2187..d76c9be5bfca 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _DCCP_FEAT_H | 2 | #ifndef _DCCP_FEAT_H |
| 2 | #define _DCCP_FEAT_H | 3 | #define _DCCP_FEAT_H |
| 3 | /* | 4 | /* |
| @@ -6,10 +7,6 @@ | |||
| 6 | * Feature negotiation for the DCCP protocol (RFC 4340, section 6) | 7 | * Feature negotiation for the DCCP protocol (RFC 4340, section 6) |
| 7 | * Copyright (c) 2008 Gerrit Renker <gerrit@erg.abdn.ac.uk> | 8 | * Copyright (c) 2008 Gerrit Renker <gerrit@erg.abdn.ac.uk> |
| 8 | * Copyright (c) 2005 Andrea Bittau <a.bittau@cs.ucl.ac.uk> | 9 | * Copyright (c) 2005 Andrea Bittau <a.bittau@cs.ucl.ac.uk> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify it | ||
| 11 | * under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | #include <linux/types.h> | 11 | #include <linux/types.h> |
| 15 | #include "dccp.h" | 12 | #include "dccp.h" |
diff --git a/net/dccp/ipv6.h b/net/dccp/ipv6.h index af259e15e7f0..7e4c2a3b322b 100644 --- a/net/dccp/ipv6.h +++ b/net/dccp/ipv6.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | #ifndef _DCCP_IPV6_H | 2 | #ifndef _DCCP_IPV6_H |
| 2 | #define _DCCP_IPV6_H | 3 | #define _DCCP_IPV6_H |
| 3 | /* | 4 | /* |
| @@ -5,10 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * An implementation of the DCCP protocol | 7 | * An implementation of the DCCP protocol |
| 7 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 8 | * Copyright (c) 2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify it | ||
| 10 | * under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/dccp.h> | 11 | #include <linux/dccp.h> |
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 5dd85ec51bfe..5bad08dc4316 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/dccp/proto.c | 3 | * net/dccp/proto.c |
| 3 | * | 4 | * |
| 4 | * An implementation of the DCCP protocol | 5 | * An implementation of the DCCP protocol |
| 5 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 6 | * Arnaldo Carvalho de Melo <acme@conectiva.com.br> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/dccp.h> | 9 | #include <linux/dccp.h> |
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index e77872c93c20..10b91ebdf213 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Packet matching code. | 3 | * Packet matching code. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 5 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 5 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * Copyright (C) 2006-2010 Patrick McHardy <kaber@trash.net> | 7 | * Copyright (C) 2006-2010 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/cache.h> | 10 | #include <linux/cache.h> |
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c index a2a88ab07f7b..4d6bf7ac0792 100644 --- a/net/ipv4/netfilter/ipt_CLUSTERIP.c +++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Cluster IP hashmark target | 2 | /* Cluster IP hashmark target |
| 2 | * (C) 2003-2004 by Harald Welte <laforge@netfilter.org> | 3 | * (C) 2003-2004 by Harald Welte <laforge@netfilter.org> |
| 3 | * based on ideas of Fabio Olive Leite <olive@unixforge.org> | 4 | * based on ideas of Fabio Olive Leite <olive@unixforge.org> |
| 4 | * | 5 | * |
| 5 | * Development of this code funded by SuSE Linux AG, http://www.suse.com/ | 6 | * Development of this code funded by SuSE Linux AG, http://www.suse.com/ |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/ipt_ECN.c b/net/ipv4/netfilter/ipt_ECN.c index aaaf9a81fbc9..5f116c3749b4 100644 --- a/net/ipv4/netfilter/ipt_ECN.c +++ b/net/ipv4/netfilter/ipt_ECN.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* iptables module for the IPv4 and TCP ECN bits, Version 1.5 | 2 | /* iptables module for the IPv4 and TCP ECN bits, Version 1.5 |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2002 by Harald Welte <laforge@netfilter.org> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/in.h> | 7 | #include <linux/in.h> |
diff --git a/net/ipv4/netfilter/ipt_REJECT.c b/net/ipv4/netfilter/ipt_REJECT.c index e8bed3390e58..e16b98ee6266 100644 --- a/net/ipv4/netfilter/ipt_REJECT.c +++ b/net/ipv4/netfilter/ipt_REJECT.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for rejecting packets. | 3 | * This is a module which is used for rejecting packets. |
| 3 | */ | 4 | */ |
| 4 | 5 | ||
| 5 | /* (C) 1999-2001 Paul `Rusty' Russell | 6 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 6 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 7 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/ipt_SYNPROXY.c b/net/ipv4/netfilter/ipt_SYNPROXY.c index 690b17ef6a44..64d9563c0218 100644 --- a/net/ipv4/netfilter/ipt_SYNPROXY.c +++ b/net/ipv4/netfilter/ipt_SYNPROXY.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/ipt_ah.c b/net/ipv4/netfilter/ipt_ah.c index 7c6c20eaf4db..161ba412cb08 100644 --- a/net/ipv4/netfilter/ipt_ah.c +++ b/net/ipv4/netfilter/ipt_ah.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match AH parameters. */ | 2 | /* Kernel module to match AH parameters. */ |
| 2 | /* (C) 1999-2000 Yon Uriarte <yon@astaro.de> | 3 | /* (C) 1999-2000 Yon Uriarte <yon@astaro.de> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 9 | #include <linux/in.h> | 6 | #include <linux/in.h> |
diff --git a/net/ipv4/netfilter/ipt_rpfilter.c b/net/ipv4/netfilter/ipt_rpfilter.c index 0b10d8812828..59031670b16a 100644 --- a/net/ipv4/netfilter/ipt_rpfilter.c +++ b/net/ipv4/netfilter/ipt_rpfilter.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011 Florian Westphal <fw@strlen.de> | 3 | * Copyright (c) 2011 Florian Westphal <fw@strlen.de> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * based on fib_frontend.c; Author: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | 5 | * based on fib_frontend.c; Author: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
| 9 | */ | 6 | */ |
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/ipv4/netfilter/iptable_filter.c b/net/ipv4/netfilter/iptable_filter.c index 9ac92ea7b93c..9d54b4017e50 100644 --- a/net/ipv4/netfilter/iptable_filter.c +++ b/net/ipv4/netfilter/iptable_filter.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. | 3 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 5 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 5 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/iptable_mangle.c b/net/ipv4/netfilter/iptable_mangle.c index dea138ca8925..bb9266ea3785 100644 --- a/net/ipv4/netfilter/iptable_mangle.c +++ b/net/ipv4/netfilter/iptable_mangle.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. | 3 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 5 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 5 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 12 | #include <linux/netfilter_ipv4/ip_tables.h> | 9 | #include <linux/netfilter_ipv4/ip_tables.h> |
diff --git a/net/ipv4/netfilter/iptable_nat.c b/net/ipv4/netfilter/iptable_nat.c index 007da0882412..ad33687b7444 100644 --- a/net/ipv4/netfilter/iptable_nat.c +++ b/net/ipv4/netfilter/iptable_nat.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * (C) 2011 Patrick McHardy <kaber@trash.net> | 4 | * (C) 2011 Patrick McHardy <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/iptable_security.c b/net/ipv4/netfilter/iptable_security.c index e5379fe57b64..ac633c1db97e 100644 --- a/net/ipv4/netfilter/iptable_security.c +++ b/net/ipv4/netfilter/iptable_security.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * "security" table | 3 | * "security" table |
| 3 | * | 4 | * |
| @@ -10,10 +11,6 @@ | |||
| 10 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 11 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 11 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam <at> netfilter.org> | 12 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam <at> netfilter.org> |
| 12 | * Copyright (C) 2008 Red Hat, Inc., James Morris <jmorris <at> redhat.com> | 13 | * Copyright (C) 2008 Red Hat, Inc., James Morris <jmorris <at> redhat.com> |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License version 2 as | ||
| 16 | * published by the Free Software Foundation. | ||
| 17 | */ | 14 | */ |
| 18 | #include <linux/module.h> | 15 | #include <linux/module.h> |
| 19 | #include <linux/netfilter_ipv4/ip_tables.h> | 16 | #include <linux/netfilter_ipv4/ip_tables.h> |
diff --git a/net/ipv4/netfilter/nf_defrag_ipv4.c b/net/ipv4/netfilter/nf_defrag_ipv4.c index a0d3ad60a411..8115611aa47d 100644 --- a/net/ipv4/netfilter/nf_defrag_ipv4.c +++ b/net/ipv4/netfilter/nf_defrag_ipv4.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
diff --git a/net/ipv4/netfilter/nf_log_arp.c b/net/ipv4/netfilter/nf_log_arp.c index df5c2a2061a4..7a83f881efa9 100644 --- a/net/ipv4/netfilter/nf_log_arp.c +++ b/net/ipv4/netfilter/nf_log_arp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2014 by Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * (C) 2014 by Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * | 6 | * |
| 6 | * Bart De Schuymer <bdschuym@pandora.be> | 7 | * Bart De Schuymer <bdschuym@pandora.be> |
| 7 | * Harald Welte <laforge@netfilter.org> | 8 | * Harald Welte <laforge@netfilter.org> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/ipv4/netfilter/nf_log_ipv4.c b/net/ipv4/netfilter/nf_log_ipv4.c index 1e6f28c97d3a..4b2d49cc9f1a 100644 --- a/net/ipv4/netfilter/nf_log_ipv4.c +++ b/net/ipv4/netfilter/nf_log_ipv4.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/ipv4/netfilter/nf_nat_h323.c b/net/ipv4/netfilter/nf_nat_h323.c index 7875c98072eb..dfea10f13878 100644 --- a/net/ipv4/netfilter/nf_nat_h323.c +++ b/net/ipv4/netfilter/nf_nat_h323.c | |||
| @@ -1,11 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * H.323 extension for NAT alteration. | 3 | * H.323 extension for NAT alteration. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> | 5 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 5 | * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net> | 6 | * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 6 | * | 7 | * |
| 7 | * This source code is licensed under General Public License version 2. | ||
| 8 | * | ||
| 9 | * Based on the 'brute force' H.323 NAT module by | 8 | * Based on the 'brute force' H.323 NAT module by |
| 10 | * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 9 | * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 11 | */ | 10 | */ |
diff --git a/net/ipv4/netfilter/nf_reject_ipv4.c b/net/ipv4/netfilter/nf_reject_ipv4.c index 7dc3c324b911..2361fdac2c43 100644 --- a/net/ipv4/netfilter/nf_reject_ipv4.c +++ b/net/ipv4/netfilter/nf_reject_ipv4.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/nf_socket_ipv4.c b/net/ipv4/netfilter/nf_socket_ipv4.c index 4824b1e183a1..36a28d46149c 100644 --- a/net/ipv4/netfilter/nf_socket_ipv4.c +++ b/net/ipv4/netfilter/nf_socket_ipv4.c | |||
| @@ -1,11 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007-2008 BalaBit IT Ltd. | 3 | * Copyright (C) 2007-2008 BalaBit IT Ltd. |
| 3 | * Author: Krisztian Kovacs | 4 | * Author: Krisztian Kovacs |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | 5 | */ |
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 11 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv4/netfilter/nf_tproxy_ipv4.c b/net/ipv4/netfilter/nf_tproxy_ipv4.c index 164714104965..b6dd39636bea 100644 --- a/net/ipv4/netfilter/nf_tproxy_ipv4.c +++ b/net/ipv4/netfilter/nf_tproxy_ipv4.c | |||
| @@ -1,11 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007-2008 BalaBit IT Ltd. | 3 | * Copyright (C) 2007-2008 BalaBit IT Ltd. |
| 3 | * Author: Krisztian Kovacs | 4 | * Author: Krisztian Kovacs |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | 5 | */ |
| 10 | 6 | ||
| 11 | #include <net/netfilter/nf_tproxy.h> | 7 | #include <net/netfilter/nf_tproxy.h> |
diff --git a/net/ipv4/netfilter/nft_dup_ipv4.c b/net/ipv4/netfilter/nft_dup_ipv4.c index 0af3d8df70dd..abf89b972094 100644 --- a/net/ipv4/netfilter/nft_dup_ipv4.c +++ b/net/ipv4/netfilter/nft_dup_ipv4.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License version 2 as published by | ||
| 6 | * the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/ipv4/netfilter/nft_fib_ipv4.c b/net/ipv4/netfilter/nft_fib_ipv4.c index c8888e52591f..ce294113dbcd 100644 --- a/net/ipv4/netfilter/nft_fib_ipv4.c +++ b/net/ipv4/netfilter/nft_fib_ipv4.c | |||
| @@ -1,8 +1,4 @@ | |||
| 1 | /* | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | */ | ||
| 6 | 2 | ||
| 7 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
| 8 | #include <linux/init.h> | 4 | #include <linux/init.h> |
diff --git a/net/ipv4/netfilter/nft_reject_ipv4.c b/net/ipv4/netfilter/nft_reject_ipv4.c index 517ce93699de..7e6fd5cde50f 100644 --- a/net/ipv4/netfilter/nft_reject_ipv4.c +++ b/net/ipv4/netfilter/nft_reject_ipv4.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> | 4 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index daf2e9e9193d..c973ace208c5 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Packet matching code. | 3 | * Packet matching code. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 5 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 5 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * Copyright (c) 2006-2010 Patrick McHardy <kaber@trash.net> | 7 | * Copyright (c) 2006-2010 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/ipv6/netfilter/ip6t_NPT.c b/net/ipv6/netfilter/ip6t_NPT.c index a379d2f79b19..9ee077bf4f49 100644 --- a/net/ipv6/netfilter/ip6t_NPT.c +++ b/net/ipv6/netfilter/ip6t_NPT.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011, 2012 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2011, 2012 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_SYNPROXY.c b/net/ipv6/netfilter/ip6t_SYNPROXY.c index cb6d42b03cb5..41325d517478 100644 --- a/net/ipv6/netfilter/ip6t_SYNPROXY.c +++ b/net/ipv6/netfilter/ip6t_SYNPROXY.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_ah.c b/net/ipv6/netfilter/ip6t_ah.c index 04099ab7d2e3..0228ff3636bb 100644 --- a/net/ipv6/netfilter/ip6t_ah.c +++ b/net/ipv6/netfilter/ip6t_ah.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match AH parameters. */ | 2 | /* Kernel module to match AH parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 4 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_eui64.c b/net/ipv6/netfilter/ip6t_eui64.c index aab0706908c5..d704f7ed300c 100644 --- a/net/ipv6/netfilter/ip6t_eui64.c +++ b/net/ipv6/netfilter/ip6t_eui64.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match EUI64 address parameters. */ | 2 | /* Kernel module to match EUI64 address parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 4 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_frag.c b/net/ipv6/netfilter/ip6t_frag.c index 3b5735e56bfe..fb91eeee4a1e 100644 --- a/net/ipv6/netfilter/ip6t_frag.c +++ b/net/ipv6/netfilter/ip6t_frag.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match FRAG parameters. */ | 2 | /* Kernel module to match FRAG parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 4 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_hbh.c b/net/ipv6/netfilter/ip6t_hbh.c index 01df142bb027..467b2a86031b 100644 --- a/net/ipv6/netfilter/ip6t_hbh.c +++ b/net/ipv6/netfilter/ip6t_hbh.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match Hop-by-Hop and Destination parameters. */ | 2 | /* Kernel module to match Hop-by-Hop and Destination parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 4 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_ipv6header.c b/net/ipv6/netfilter/ip6t_ipv6header.c index af737b47b9b5..fd439f88377f 100644 --- a/net/ipv6/netfilter/ip6t_ipv6header.c +++ b/net/ipv6/netfilter/ip6t_ipv6header.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* ipv6header match - matches IPv6 packets based | 2 | /* ipv6header match - matches IPv6 packets based |
| 2 | on whether they contain certain headers */ | 3 | on whether they contain certain headers */ |
| 3 | 4 | ||
| @@ -5,10 +6,6 @@ | |||
| 5 | * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */ | 6 | * Rewritten by: Andras Kis-Szabo <kisza@sch.bme.hu> */ |
| 6 | 7 | ||
| 7 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 8 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_mh.c b/net/ipv6/netfilter/ip6t_mh.c index 0c90c66b1992..fd492b69acbc 100644 --- a/net/ipv6/netfilter/ip6t_mh.c +++ b/net/ipv6/netfilter/ip6t_mh.c | |||
| @@ -1,15 +1,11 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C)2006 USAGI/WIDE Project | 3 | * Copyright (C)2006 USAGI/WIDE Project |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Author: | 5 | * Author: |
| 9 | * Masahide NAKAMURA @USAGI <masahide.nakamura.cz@hitachi.com> | 6 | * Masahide NAKAMURA @USAGI <masahide.nakamura.cz@hitachi.com> |
| 10 | * | 7 | * |
| 11 | * Based on net/netfilter/xt_tcpudp.c | 8 | * Based on net/netfilter/xt_tcpudp.c |
| 12 | * | ||
| 13 | */ | 9 | */ |
| 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 15 | #include <linux/types.h> | 11 | #include <linux/types.h> |
diff --git a/net/ipv6/netfilter/ip6t_rpfilter.c b/net/ipv6/netfilter/ip6t_rpfilter.c index c3c6b09acdc4..6bcaf7357183 100644 --- a/net/ipv6/netfilter/ip6t_rpfilter.c +++ b/net/ipv6/netfilter/ip6t_rpfilter.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011 Florian Westphal <fw@strlen.de> | 3 | * Copyright (c) 2011 Florian Westphal <fw@strlen.de> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6t_rt.c b/net/ipv6/netfilter/ip6t_rt.c index 21bf6bf04323..f633dc84ca3f 100644 --- a/net/ipv6/netfilter/ip6t_rt.c +++ b/net/ipv6/netfilter/ip6t_rt.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match ROUTING parameters. */ | 2 | /* Kernel module to match ROUTING parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> | 4 | /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6table_filter.c b/net/ipv6/netfilter/ip6table_filter.c index 1343077dde93..32667f5d5a33 100644 --- a/net/ipv6/netfilter/ip6table_filter.c +++ b/net/ipv6/netfilter/ip6table_filter.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. | 3 | * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 5 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 5 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/ip6table_mangle.c b/net/ipv6/netfilter/ip6table_mangle.c index b0524b18c4fb..070afb97fa2b 100644 --- a/net/ipv6/netfilter/ip6table_mangle.c +++ b/net/ipv6/netfilter/ip6table_mangle.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6 | 3 | * IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6 |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2000-2001 by Harald Welte <laforge@gnumonks.org> | 5 | * Copyright (C) 2000-2001 by Harald Welte <laforge@gnumonks.org> |
| 5 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> | 6 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 12 | #include <linux/netfilter_ipv6/ip6_tables.h> | 9 | #include <linux/netfilter_ipv6/ip6_tables.h> |
diff --git a/net/ipv6/netfilter/ip6table_nat.c b/net/ipv6/netfilter/ip6table_nat.c index 3e1fab9d7503..0f4875952efc 100644 --- a/net/ipv6/netfilter/ip6table_nat.c +++ b/net/ipv6/netfilter/ip6table_nat.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Based on Rusty Russell's IPv4 NAT code. Development of IPv6 NAT | 5 | * Based on Rusty Russell's IPv4 NAT code. Development of IPv6 NAT |
| 9 | * funded by Astaro. | 6 | * funded by Astaro. |
| 10 | */ | 7 | */ |
diff --git a/net/ipv6/netfilter/ip6table_security.c b/net/ipv6/netfilter/ip6table_security.c index cf26ccb04056..a74335fe2bd9 100644 --- a/net/ipv6/netfilter/ip6table_security.c +++ b/net/ipv6/netfilter/ip6table_security.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * "security" table for IPv6 | 3 | * "security" table for IPv6 |
| 3 | * | 4 | * |
| @@ -10,10 +11,6 @@ | |||
| 10 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 11 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 11 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam <at> netfilter.org> | 12 | * Copyright (C) 2000-2004 Netfilter Core Team <coreteam <at> netfilter.org> |
| 12 | * Copyright (C) 2008 Red Hat, Inc., James Morris <jmorris <at> redhat.com> | 13 | * Copyright (C) 2008 Red Hat, Inc., James Morris <jmorris <at> redhat.com> |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License version 2 as | ||
| 16 | * published by the Free Software Foundation. | ||
| 17 | */ | 14 | */ |
| 18 | #include <linux/module.h> | 15 | #include <linux/module.h> |
| 19 | #include <linux/netfilter_ipv6/ip6_tables.h> | 16 | #include <linux/netfilter_ipv6/ip6_tables.h> |
diff --git a/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c b/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c index 72dd3e202375..6646a87fb5dc 100644 --- a/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c +++ b/net/ipv6/netfilter/nf_defrag_ipv6_hooks.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
diff --git a/net/ipv6/netfilter/nf_log_ipv6.c b/net/ipv6/netfilter/nf_log_ipv6.c index c6bf580d0f33..549c51156d5d 100644 --- a/net/ipv6/netfilter/nf_log_ipv6.c +++ b/net/ipv6/netfilter/nf_log_ipv6.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/ipv6/netfilter/nf_reject_ipv6.c b/net/ipv6/netfilter/nf_reject_ipv6.c index 02e9228641e0..5fae66f66671 100644 --- a/net/ipv6/netfilter/nf_reject_ipv6.c +++ b/net/ipv6/netfilter/nf_reject_ipv6.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/nf_socket_ipv6.c b/net/ipv6/netfilter/nf_socket_ipv6.c index f14de4b6d639..437d95545c31 100644 --- a/net/ipv6/netfilter/nf_socket_ipv6.c +++ b/net/ipv6/netfilter/nf_socket_ipv6.c | |||
| @@ -1,11 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007-2008 BalaBit IT Ltd. | 3 | * Copyright (C) 2007-2008 BalaBit IT Ltd. |
| 3 | * Author: Krisztian Kovacs | 4 | * Author: Krisztian Kovacs |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | 5 | */ |
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 11 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/ipv6/netfilter/nft_dup_ipv6.c b/net/ipv6/netfilter/nft_dup_ipv6.c index d8b5b60b7d53..2af32200507d 100644 --- a/net/ipv6/netfilter/nft_dup_ipv6.c +++ b/net/ipv6/netfilter/nft_dup_ipv6.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License version 2 as published by | ||
| 6 | * the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/ipv6/netfilter/nft_fib_ipv6.c b/net/ipv6/netfilter/nft_fib_ipv6.c index ec068b0cffca..7ece86afd079 100644 --- a/net/ipv6/netfilter/nft_fib_ipv6.c +++ b/net/ipv6/netfilter/nft_fib_ipv6.c | |||
| @@ -1,8 +1,4 @@ | |||
| 1 | /* | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | */ | ||
| 6 | 2 | ||
| 7 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
| 8 | #include <linux/init.h> | 4 | #include <linux/init.h> |
diff --git a/net/ipv6/netfilter/nft_reject_ipv6.c b/net/ipv6/netfilter/nft_reject_ipv6.c index 057deeaff1cb..680a28ce29fd 100644 --- a/net/ipv6/netfilter/nft_reject_ipv6.c +++ b/net/ipv6/netfilter/nft_reject_ipv6.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> | 4 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index 44fdc641710d..5dbc0c48f8cb 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm/kcmsock.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Kernel Connection Multiplexor | 3 | * Kernel Connection Multiplexor |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> | 5 | * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 | ||
| 8 | * as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/bpf.h> | 8 | #include <linux/bpf.h> |
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index e4dec03a19fe..105e5a7092e7 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * L2TP core. | 3 | * L2TP core. |
| 3 | * | 4 | * |
| @@ -12,10 +13,6 @@ | |||
| 12 | * Michal Ostrowski <mostrows@speakeasy.net> | 13 | * Michal Ostrowski <mostrows@speakeasy.net> |
| 13 | * Arnaldo Carvalho de Melo <acme@xconectiva.com.br> | 14 | * Arnaldo Carvalho de Melo <acme@xconectiva.com.br> |
| 14 | * David S. Miller (davem@redhat.com) | 15 | * David S. Miller (davem@redhat.com) |
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License version 2 as | ||
| 18 | * published by the Free Software Foundation. | ||
| 19 | */ | 16 | */ |
| 20 | 17 | ||
| 21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 18 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h index b2ce90260c35..2db3d50d10a4 100644 --- a/net/l2tp/l2tp_core.h +++ b/net/l2tp/l2tp_core.h | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * L2TP internal definitions. | 3 | * L2TP internal definitions. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008,2009 Katalix Systems Ltd | 5 | * Copyright (c) 2008,2009 Katalix Systems Ltd |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/refcount.h> | 7 | #include <linux/refcount.h> |
| 11 | 8 | ||
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c index 6acc7f869b0c..f5a9bdc4980c 100644 --- a/net/l2tp/l2tp_netlink.c +++ b/net/l2tp/l2tp_netlink.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * L2TP netlink layer, for management | 3 | * L2TP netlink layer, for management |
| 3 | * | 4 | * |
| @@ -8,10 +9,6 @@ | |||
| 8 | * Copyright (c) 2007 Samuel Ortiz <samuel@sortiz.org> | 9 | * Copyright (c) 2007 Samuel Ortiz <samuel@sortiz.org> |
| 9 | * which is in turn partly based on the wireless netlink code: | 10 | * which is in turn partly based on the wireless netlink code: |
| 10 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> | 11 | * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | */ | 12 | */ |
| 16 | 13 | ||
| 17 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/mac80211/aead_api.c b/net/mac80211/aead_api.c index 160f9df30402..c5fe95e49c68 100644 --- a/net/mac80211/aead_api.c +++ b/net/mac80211/aead_api.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2003-2004, Instant802 Networks, Inc. | 3 | * Copyright 2003-2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| 4 | * Copyright 2014-2015, Qualcomm Atheros, Inc. | 5 | * Copyright 2014-2015, Qualcomm Atheros, Inc. |
| 5 | * | 6 | * |
| 6 | * Rewrite: Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org> | 7 | * Rewrite: Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/net/mac80211/aead_api.h b/net/mac80211/aead_api.h index 5e39ea843bbf..7d463b80926a 100644 --- a/net/mac80211/aead_api.h +++ b/net/mac80211/aead_api.h | |||
| @@ -1,8 +1,4 @@ | |||
| 1 | /* | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | */ | ||
| 6 | 2 | ||
| 7 | #ifndef _AEAD_API_H | 3 | #ifndef _AEAD_API_H |
| 8 | #define _AEAD_API_H | 4 | #define _AEAD_API_H |
diff --git a/net/mac80211/aes_ccm.h b/net/mac80211/aes_ccm.h index e9b7ca0bde5b..96256193cf49 100644 --- a/net/mac80211/aes_ccm.h +++ b/net/mac80211/aes_ccm.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2003-2004, Instant802 Networks, Inc. | 3 | * Copyright 2003-2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2006, Devicescape Software, Inc. | 4 | * Copyright 2006, Devicescape Software, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifndef AES_CCM_H | 7 | #ifndef AES_CCM_H |
diff --git a/net/mac80211/aes_cmac.c b/net/mac80211/aes_cmac.c index 2fb65588490c..57748cab0e28 100644 --- a/net/mac80211/aes_cmac.c +++ b/net/mac80211/aes_cmac.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * AES-128-CMAC with TLen 16 for IEEE 802.11w BIP | 3 | * AES-128-CMAC with TLen 16 for IEEE 802.11w BIP |
| 3 | * Copyright 2008, Jouni Malinen <j@w1.fi> | 4 | * Copyright 2008, Jouni Malinen <j@w1.fi> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/net/mac80211/aes_cmac.h b/net/mac80211/aes_cmac.h index fef531f42003..76817446fb83 100644 --- a/net/mac80211/aes_cmac.h +++ b/net/mac80211/aes_cmac.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2008, Jouni Malinen <j@w1.fi> | 3 | * Copyright 2008, Jouni Malinen <j@w1.fi> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef AES_CMAC_H | 6 | #ifndef AES_CMAC_H |
diff --git a/net/mac80211/aes_gcm.h b/net/mac80211/aes_gcm.h index d2b096033009..b14093b2f7a9 100644 --- a/net/mac80211/aes_gcm.h +++ b/net/mac80211/aes_gcm.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2014-2015, Qualcomm Atheros, Inc. | 3 | * Copyright 2014-2015, Qualcomm Atheros, Inc. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef AES_GCM_H | 6 | #ifndef AES_GCM_H |
diff --git a/net/mac80211/aes_gmac.c b/net/mac80211/aes_gmac.c index bd72a862ddb7..363ad1c1dc0c 100644 --- a/net/mac80211/aes_gmac.c +++ b/net/mac80211/aes_gmac.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * AES-GMAC for IEEE 802.11 BIP-GMAC-128 and BIP-GMAC-256 | 3 | * AES-GMAC for IEEE 802.11 BIP-GMAC-128 and BIP-GMAC-256 |
| 3 | * Copyright 2015, Qualcomm Atheros, Inc. | 4 | * Copyright 2015, Qualcomm Atheros, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/net/mac80211/aes_gmac.h b/net/mac80211/aes_gmac.h index 32e6442c95be..c739356bae2a 100644 --- a/net/mac80211/aes_gmac.h +++ b/net/mac80211/aes_gmac.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2015, Qualcomm Atheros, Inc. | 3 | * Copyright 2015, Qualcomm Atheros, Inc. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef AES_GMAC_H | 6 | #ifndef AES_GMAC_H |
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index 6a4f154c99f6..01b0dad24500 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * HT handling | 3 | * HT handling |
| 3 | * | 4 | * |
| @@ -9,10 +10,6 @@ | |||
| 9 | * Copyright 2007-2010, Intel Corporation | 10 | * Copyright 2007-2010, Intel Corporation |
| 10 | * Copyright(c) 2015-2017 Intel Deutschland GmbH | 11 | * Copyright(c) 2015-2017 Intel Deutschland GmbH |
| 11 | * Copyright (C) 2018 Intel Corporation | 12 | * Copyright (C) 2018 Intel Corporation |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | 13 | */ |
| 17 | 14 | ||
| 18 | /** | 15 | /** |
diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index 2c4cd4183bf9..b11883d26875 100644 --- a/net/mac80211/agg-tx.c +++ b/net/mac80211/agg-tx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * HT handling | 3 | * HT handling |
| 3 | * | 4 | * |
| @@ -9,10 +10,6 @@ | |||
| 9 | * Copyright 2007-2010, Intel Corporation | 10 | * Copyright 2007-2010, Intel Corporation |
| 10 | * Copyright(c) 2015-2017 Intel Deutschland GmbH | 11 | * Copyright(c) 2015-2017 Intel Deutschland GmbH |
| 11 | * Copyright (C) 2018 - 2019 Intel Corporation | 12 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | 13 | */ |
| 17 | 14 | ||
| 18 | #include <linux/ieee80211.h> | 15 | #include <linux/ieee80211.h> |
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 0d462206eef6..271bc2b676a4 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
| @@ -1,12 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * mac80211 debugfs for wireless PHYs | 3 | * mac80211 debugfs for wireless PHYs |
| 3 | * | 4 | * |
| 4 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> | 5 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> |
| 5 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 6 | * Copyright (C) 2018 - 2019 Intel Corporation | 7 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 7 | * | ||
| 8 | * GPLv2 | ||
| 9 | * | ||
| 10 | */ | 8 | */ |
| 11 | 9 | ||
| 12 | #include <linux/debugfs.h> | 10 | #include <linux/debugfs.h> |
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c index a2ef95f16f11..3509ce0daea3 100644 --- a/net/mac80211/debugfs_key.c +++ b/net/mac80211/debugfs_key.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2003-2005 Devicescape Software, Inc. | 3 | * Copyright 2003-2005 Devicescape Software, Inc. |
| 3 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 4 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
| 4 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> | 5 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> |
| 5 | * Copyright (C) 2015 Intel Deutschland GmbH | 6 | * Copyright (C) 2015 Intel Deutschland GmbH |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/kobject.h> | 9 | #include <linux/kobject.h> |
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index deb3faf08337..f1f2e1c7ac0c 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 3 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
| 3 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> | 4 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c index 8e921281e0d5..3fd79ccb293b 100644 --- a/net/mac80211/debugfs_sta.c +++ b/net/mac80211/debugfs_sta.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2003-2005 Devicescape Software, Inc. | 3 | * Copyright 2003-2005 Devicescape Software, Inc. |
| 3 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 4 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
| @@ -5,10 +6,6 @@ | |||
| 5 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 6 | * Copyright(c) 2016 Intel Deutschland GmbH | 7 | * Copyright(c) 2016 Intel Deutschland GmbH |
| 7 | * Copyright (C) 2018 - 2019 Intel Corporation | 8 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/debugfs.h> | 11 | #include <linux/debugfs.h> |
diff --git a/net/mac80211/driver-ops.c b/net/mac80211/driver-ops.c index 839c0022a29c..acd4afb4944b 100644 --- a/net/mac80211/driver-ops.c +++ b/net/mac80211/driver-ops.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2015 Intel Deutschland GmbH | 3 | * Copyright 2015 Intel Deutschland GmbH |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #include <net/mac80211.h> | 5 | #include <net/mac80211.h> |
| 9 | #include "ieee80211_i.h" | 6 | #include "ieee80211_i.h" |
diff --git a/net/mac80211/fils_aead.c b/net/mac80211/fils_aead.c index 3cfb1e2ab7ac..a13ae148937e 100644 --- a/net/mac80211/fils_aead.c +++ b/net/mac80211/fils_aead.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * FILS AEAD for (Re)Association Request/Response frames | 3 | * FILS AEAD for (Re)Association Request/Response frames |
| 3 | * Copyright 2016, Qualcomm Atheros, Inc. | 4 | * Copyright 2016, Qualcomm Atheros, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <crypto/aes.h> | 7 | #include <crypto/aes.h> |
diff --git a/net/mac80211/fils_aead.h b/net/mac80211/fils_aead.h index fbc65232f0b3..c868153f8720 100644 --- a/net/mac80211/fils_aead.h +++ b/net/mac80211/fils_aead.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * FILS AEAD for (Re)Association Request/Response frames | 3 | * FILS AEAD for (Re)Association Request/Response frames |
| 3 | * Copyright 2016, Qualcomm Atheros, Inc. | 4 | * Copyright 2016, Qualcomm Atheros, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifndef FILS_AEAD_H | 7 | #ifndef FILS_AEAD_H |
diff --git a/net/mac80211/he.c b/net/mac80211/he.c index 769078ed5a12..219650591c79 100644 --- a/net/mac80211/he.c +++ b/net/mac80211/he.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * HE handling | 3 | * HE handling |
| 3 | * | 4 | * |
| 4 | * Copyright(c) 2017 Intel Deutschland GmbH | 5 | * Copyright(c) 2017 Intel Deutschland GmbH |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include "ieee80211_i.h" | 8 | #include "ieee80211_i.h" |
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c index c62101857b9b..d5a500b2a448 100644 --- a/net/mac80211/ht.c +++ b/net/mac80211/ht.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * HT handling | 3 | * HT handling |
| 3 | * | 4 | * |
| @@ -8,10 +9,6 @@ | |||
| 8 | * Copyright 2007, Michael Wu <flamingice@sourmilk.net> | 9 | * Copyright 2007, Michael Wu <flamingice@sourmilk.net> |
| 9 | * Copyright 2007-2010, Intel Corporation | 10 | * Copyright 2007-2010, Intel Corporation |
| 10 | * Copyright 2017 Intel Deutschland GmbH | 11 | * Copyright 2017 Intel Deutschland GmbH |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | */ | 12 | */ |
| 16 | 13 | ||
| 17 | #include <linux/ieee80211.h> | 14 | #include <linux/ieee80211.h> |
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 4e4507115cf3..f00dca056295 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IBSS mode implementation | 3 | * IBSS mode implementation |
| 3 | * Copyright 2003-2008, Jouni Malinen <j@w1.fi> | 4 | * Copyright 2003-2008, Jouni Malinen <j@w1.fi> |
| @@ -9,10 +10,6 @@ | |||
| 9 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 10 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 10 | * Copyright(c) 2016 Intel Deutschland GmbH | 11 | * Copyright(c) 2016 Intel Deutschland GmbH |
| 11 | * Copyright(c) 2018-2019 Intel Corporation | 12 | * Copyright(c) 2018-2019 Intel Corporation |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | 13 | */ |
| 17 | 14 | ||
| 18 | #include <linux/delay.h> | 15 | #include <linux/delay.h> |
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index a86fcae279a6..6396d46a9a71 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005, Devicescape Software, Inc. | 4 | * Copyright 2005, Devicescape Software, Inc. |
| @@ -5,10 +6,6 @@ | |||
| 5 | * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> | 6 | * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> |
| 6 | * Copyright 2013-2015 Intel Mobile Communications GmbH | 7 | * Copyright 2013-2015 Intel Mobile Communications GmbH |
| 7 | * Copyright (C) 2018-2019 Intel Corporation | 8 | * Copyright (C) 2018-2019 Intel Corporation |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #ifndef IEEE80211_I_H | 11 | #ifndef IEEE80211_I_H |
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 410685d38c46..06aac0aaae64 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Interface handling | 3 | * Interface handling |
| 3 | * | 4 | * |
| @@ -8,10 +9,6 @@ | |||
| 8 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 9 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 9 | * Copyright (c) 2016 Intel Deutschland GmbH | 10 | * Copyright (c) 2016 Intel Deutschland GmbH |
| 10 | * Copyright (C) 2018 Intel Corporation | 11 | * Copyright (C) 2018 Intel Corporation |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | */ | 12 | */ |
| 16 | #include <linux/slab.h> | 13 | #include <linux/slab.h> |
| 17 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 89f09a09efdb..157ff5f890d2 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| @@ -5,10 +6,6 @@ | |||
| 5 | * Copyright 2007-2008 Johannes Berg <johannes@sipsolutions.net> | 6 | * Copyright 2007-2008 Johannes Berg <johannes@sipsolutions.net> |
| 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 7 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 7 | * Copyright 2015-2017 Intel Deutschland GmbH | 8 | * Copyright 2015-2017 Intel Deutschland GmbH |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/if_ether.h> | 11 | #include <linux/if_ether.h> |
diff --git a/net/mac80211/key.h b/net/mac80211/key.h index f06fbd03d235..be118c39433f 100644 --- a/net/mac80211/key.h +++ b/net/mac80211/key.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2004, Instant802 Networks, Inc. | 3 | * Copyright 2002-2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2005, Devicescape Software, Inc. | 4 | * Copyright 2005, Devicescape Software, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifndef IEEE80211_KEY_H | 7 | #ifndef IEEE80211_KEY_H |
diff --git a/net/mac80211/led.c b/net/mac80211/led.c index d6c66fc19716..b275c8853074 100644 --- a/net/mac80211/led.c +++ b/net/mac80211/led.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2006, Johannes Berg <johannes@sipsolutions.net> | 3 | * Copyright 2006, Johannes Berg <johannes@sipsolutions.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | /* just for IFNAMSIZ */ | 6 | /* just for IFNAMSIZ */ |
diff --git a/net/mac80211/led.h b/net/mac80211/led.h index a7893a1ac98b..fb3aaa3c5606 100644 --- a/net/mac80211/led.h +++ b/net/mac80211/led.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2006, Johannes Berg <johannes@sipsolutions.net> | 3 | * Copyright 2006, Johannes Berg <johannes@sipsolutions.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/list.h> | 6 | #include <linux/list.h> |
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 2b608044ae23..55583b71ffaf 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| @@ -5,10 +6,6 @@ | |||
| 5 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 6 | * Copyright (C) 2017 Intel Deutschland GmbH | 7 | * Copyright (C) 2017 Intel Deutschland GmbH |
| 7 | * Copyright (C) 2018 - 2019 Intel Corporation | 8 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <net/mac80211.h> | 11 | #include <net/mac80211.h> |
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index fe44f0d98de0..2e7fa743c892 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, 2009 open80211s Ltd. | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
| 3 | * Copyright (C) 2018 - 2019 Intel Corporation | 4 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 4 | * Authors: Luis Carlos Cobo <luisca@cozybit.com> | 5 | * Authors: Luis Carlos Cobo <luisca@cozybit.com> |
| 5 | * Javier Cardona <javier@cozybit.com> | 6 | * Javier Cardona <javier@cozybit.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 88535a2e62bc..94d57cce70da 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, 2009 open80211s Ltd. | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
| 3 | * Authors: Luis Carlos Cobo <luisca@cozybit.com> | 4 | * Authors: Luis Carlos Cobo <luisca@cozybit.com> |
| 4 | * Javier Cardona <javier@cozybit.com> | 5 | * Javier Cardona <javier@cozybit.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #ifndef IEEE80211S_H | 8 | #ifndef IEEE80211S_H |
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index bf8e13cd5fd1..68af62306385 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, 2009 open80211s Ltd. | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
| 3 | * Copyright (C) 2019 Intel Corporation | 4 | * Copyright (C) 2019 Intel Corporation |
| 4 | * Author: Luis Carlos Cobo <luisca@cozybit.com> | 5 | * Author: Luis Carlos Cobo <luisca@cozybit.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c index 796b069ad251..117519bf33d6 100644 --- a/net/mac80211/mesh_pathtbl.c +++ b/net/mac80211/mesh_pathtbl.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, 2009 open80211s Ltd. | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
| 3 | * Author: Luis Carlos Cobo <luisca@cozybit.com> | 4 | * Author: Luis Carlos Cobo <luisca@cozybit.com> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/etherdevice.h> | 7 | #include <linux/etherdevice.h> |
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c index 8afd0ece94c9..dd3aefd052a9 100644 --- a/net/mac80211/mesh_plink.c +++ b/net/mac80211/mesh_plink.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008, 2009 open80211s Ltd. | 3 | * Copyright (c) 2008, 2009 open80211s Ltd. |
| 3 | * Copyright (C) 2019 Intel Corporation | 4 | * Copyright (C) 2019 Intel Corporation |
| 4 | * Author: Luis Carlos Cobo <luisca@cozybit.com> | 5 | * Author: Luis Carlos Cobo <luisca@cozybit.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/gfp.h> | 7 | #include <linux/gfp.h> |
| 11 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/net/mac80211/mesh_ps.c b/net/mac80211/mesh_ps.c index d8cd91424175..031e905f684a 100644 --- a/net/mac80211/mesh_ps.c +++ b/net/mac80211/mesh_ps.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> | 3 | * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> |
| 3 | * Copyright 2012-2013, cozybit Inc. | 4 | * Copyright 2012-2013, cozybit Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include "mesh.h" | 7 | #include "mesh.h" |
diff --git a/net/mac80211/mesh_sync.c b/net/mac80211/mesh_sync.c index a435f094a82e..fde93de2b80a 100644 --- a/net/mac80211/mesh_sync.c +++ b/net/mac80211/mesh_sync.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2011-2012, Pavel Zubarev <pavel.zubarev@gmail.com> | 3 | * Copyright 2011-2012, Pavel Zubarev <pavel.zubarev@gmail.com> |
| 3 | * Copyright 2011-2012, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> | 4 | * Copyright 2011-2012, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> |
| 4 | * Copyright 2011-2012, cozybit Inc. | 5 | * Copyright 2011-2012, cozybit Inc. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include "ieee80211_i.h" | 8 | #include "ieee80211_i.h" |
diff --git a/net/mac80211/michael.c b/net/mac80211/michael.c index 37e172701a63..a57502d9ffec 100644 --- a/net/mac80211/michael.c +++ b/net/mac80211/michael.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Michael MIC implementation - optimized for TKIP MIC operations | 3 | * Michael MIC implementation - optimized for TKIP MIC operations |
| 3 | * Copyright 2002-2003, Instant802 Networks, Inc. | 4 | * Copyright 2002-2003, Instant802 Networks, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
| 10 | #include <linux/bitops.h> | 7 | #include <linux/bitops.h> |
diff --git a/net/mac80211/michael.h b/net/mac80211/michael.h index 0e4886f881f1..a7fdb8e84615 100644 --- a/net/mac80211/michael.h +++ b/net/mac80211/michael.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Michael MIC implementation - optimized for TKIP MIC operations | 3 | * Michael MIC implementation - optimized for TKIP MIC operations |
| 3 | * Copyright 2002-2003, Instant802 Networks, Inc. | 4 | * Copyright 2002-2003, Instant802 Networks, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifndef MICHAEL_H | 7 | #ifndef MICHAEL_H |
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 383b0df100e4..379d2ab6d327 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * BSS client mode implementation | 3 | * BSS client mode implementation |
| 3 | * Copyright 2003-2008, Jouni Malinen <j@w1.fi> | 4 | * Copyright 2003-2008, Jouni Malinen <j@w1.fi> |
| @@ -8,10 +9,6 @@ | |||
| 8 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 9 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 9 | * Copyright (C) 2015 - 2017 Intel Deutschland GmbH | 10 | * Copyright (C) 2015 - 2017 Intel Deutschland GmbH |
| 10 | * Copyright (C) 2018 - 2019 Intel Corporation | 11 | * Copyright (C) 2018 - 2019 Intel Corporation |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | */ | 12 | */ |
| 16 | 13 | ||
| 17 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
diff --git a/net/mac80211/ocb.c b/net/mac80211/ocb.c index d351dc1162be..7c1a735b9eee 100644 --- a/net/mac80211/ocb.c +++ b/net/mac80211/ocb.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * OCB mode implementation | 3 | * OCB mode implementation |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * (c) 2014 Volkswagen Group Research | 6 | * (c) 2014 Volkswagen Group Research |
| 6 | * Author: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> | 7 | * Author: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> |
| 7 | * Funded by: Volkswagen Group Research | 8 | * Funded by: Volkswagen Group Research |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
diff --git a/net/mac80211/offchannel.c b/net/mac80211/offchannel.c index 8ef4153cd299..6e5961d7f639 100644 --- a/net/mac80211/offchannel.c +++ b/net/mac80211/offchannel.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Off-channel operation helpers | 3 | * Off-channel operation helpers |
| 3 | * | 4 | * |
| @@ -7,10 +8,6 @@ | |||
| 7 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> | 8 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> |
| 8 | * Copyright 2007, Michael Wu <flamingice@sourmilk.net> | 9 | * Copyright 2007, Michael Wu <flamingice@sourmilk.net> |
| 9 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> | 10 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License version 2 as | ||
| 13 | * published by the Free Software Foundation. | ||
| 14 | */ | 11 | */ |
| 15 | #include <linux/export.h> | 12 | #include <linux/export.h> |
| 16 | #include <net/mac80211.h> | 13 | #include <net/mac80211.h> |
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 76f303fda3ed..47ee36677c2b 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| 4 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 5 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
| 5 | * Copyright 2017 Intel Deutschland GmbH | 6 | * Copyright 2017 Intel Deutschland GmbH |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index d59198191a79..5d5348bc41ec 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005, Devicescape Software, Inc. | 4 | * Copyright 2005, Devicescape Software, Inc. |
| 4 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> | 5 | * Copyright (c) 2006 Jiri Benc <jbenc@suse.cz> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #ifndef IEEE80211_RATE_H | 8 | #ifndef IEEE80211_RATE_H |
diff --git a/net/mac80211/rc80211_minstrel.h b/net/mac80211/rc80211_minstrel.h index 23ec953e3a24..3c96a853adbd 100644 --- a/net/mac80211/rc80211_minstrel.h +++ b/net/mac80211/rc80211_minstrel.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2008 Felix Fietkau <nbd@openwrt.org> | 3 | * Copyright (C) 2008 Felix Fietkau <nbd@openwrt.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef __RC_MINSTREL_H | 6 | #ifndef __RC_MINSTREL_H |
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 8b168724c5e7..298a1acb3ce5 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org> | 3 | * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #include <linux/netdevice.h> | 5 | #include <linux/netdevice.h> |
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
| @@ -998,8 +995,6 @@ minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) | |||
| 998 | } | 995 | } |
| 999 | 996 | ||
| 1000 | if (mp->hw->max_rates >= 2) { | 997 | if (mp->hw->max_rates >= 2) { |
| 1001 | /* | ||
| 1002 | * At least 2 tx rates supported, use max_prob_rate next */ | ||
| 1003 | minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate); | 998 | minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate); |
| 1004 | } | 999 | } |
| 1005 | 1000 | ||
diff --git a/net/mac80211/rc80211_minstrel_ht.h b/net/mac80211/rc80211_minstrel_ht.h index f762e5ba7c2e..80296268c778 100644 --- a/net/mac80211/rc80211_minstrel_ht.h +++ b/net/mac80211/rc80211_minstrel_ht.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2010 Felix Fietkau <nbd@openwrt.org> | 3 | * Copyright (C) 2010 Felix Fietkau <nbd@openwrt.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef __RC_MINSTREL_HT_H | 6 | #ifndef __RC_MINSTREL_HT_H |
diff --git a/net/mac80211/rc80211_minstrel_ht_debugfs.c b/net/mac80211/rc80211_minstrel_ht_debugfs.c index 31641d0b0f5c..5a6e9f3edc04 100644 --- a/net/mac80211/rc80211_minstrel_ht_debugfs.c +++ b/net/mac80211/rc80211_minstrel_ht_debugfs.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2010 Felix Fietkau <nbd@openwrt.org> | 3 | * Copyright (C) 2010 Felix Fietkau <nbd@openwrt.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #include <linux/netdevice.h> | 5 | #include <linux/netdevice.h> |
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index fd3740000e87..3c1ab870fefe 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| @@ -6,10 +7,6 @@ | |||
| 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 7 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 7 | * Copyright(c) 2015 - 2017 Intel Deutschland GmbH | 8 | * Copyright(c) 2015 - 2017 Intel Deutschland GmbH |
| 8 | * Copyright (C) 2018-2019 Intel Corporation | 9 | * Copyright (C) 2018-2019 Intel Corporation |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #include <linux/jiffies.h> | 12 | #include <linux/jiffies.h> |
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 0cf066700623..adf94ba1ed77 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Scanning implementation | 3 | * Scanning implementation |
| 3 | * | 4 | * |
| @@ -9,10 +10,6 @@ | |||
| 9 | * Copyright 2013-2015 Intel Mobile Communications GmbH | 10 | * Copyright 2013-2015 Intel Mobile Communications GmbH |
| 10 | * Copyright 2016-2017 Intel Deutschland GmbH | 11 | * Copyright 2016-2017 Intel Deutschland GmbH |
| 11 | * Copyright (C) 2018-2019 Intel Corporation | 12 | * Copyright (C) 2018-2019 Intel Corporation |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | 13 | */ |
| 17 | 14 | ||
| 18 | #include <linux/if_arp.h> | 15 | #include <linux/if_arp.h> |
diff --git a/net/mac80211/spectmgmt.c b/net/mac80211/spectmgmt.c index 3c644f14dd59..5fe2b645912f 100644 --- a/net/mac80211/spectmgmt.c +++ b/net/mac80211/spectmgmt.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * spectrum management | 3 | * spectrum management |
| 3 | * | 4 | * |
| @@ -9,10 +10,6 @@ | |||
| 9 | * Copyright 2007-2008, Intel Corporation | 10 | * Copyright 2007-2008, Intel Corporation |
| 10 | * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> | 11 | * Copyright 2008, Johannes Berg <johannes@sipsolutions.net> |
| 11 | * Copyright (C) 2018 Intel Corporation | 12 | * Copyright (C) 2018 Intel Corporation |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | */ | 13 | */ |
| 17 | 14 | ||
| 18 | #include <linux/ieee80211.h> | 15 | #include <linux/ieee80211.h> |
diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index a4932ee3595c..187f62a48b2b 100644 --- a/net/mac80211/sta_info.c +++ b/net/mac80211/sta_info.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> | 4 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> |
| 4 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 5 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 5 | * Copyright (C) 2015 - 2017 Intel Deutschland GmbH | 6 | * Copyright (C) 2015 - 2017 Intel Deutschland GmbH |
| 6 | * Copyright (C) 2018 Intel Corporation | 7 | * Copyright (C) 2018 Intel Corporation |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 71f7e4973329..3260d4234920 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Devicescape Software, Inc. | 3 | * Copyright 2002-2005, Devicescape Software, Inc. |
| 3 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 4 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 4 | * Copyright(c) 2015-2017 Intel Deutschland GmbH | 5 | * Copyright(c) 2015-2017 Intel Deutschland GmbH |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #ifndef STA_INFO_H | 8 | #ifndef STA_INFO_H |
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 5b9952b1caf3..a88e3bf17e9d 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| 4 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> | 5 | * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> |
| 5 | * Copyright 2008-2010 Johannes Berg <johannes@sipsolutions.net> | 6 | * Copyright 2008-2010 Johannes Berg <johannes@sipsolutions.net> |
| 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 7 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/export.h> | 10 | #include <linux/export.h> |
diff --git a/net/mac80211/tkip.c b/net/mac80211/tkip.c index b3622823bad2..7914b8e3ce8c 100644 --- a/net/mac80211/tkip.c +++ b/net/mac80211/tkip.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2004, Instant802 Networks, Inc. | 3 | * Copyright 2002-2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2005, Devicescape Software, Inc. | 4 | * Copyright 2005, Devicescape Software, Inc. |
| 4 | * Copyright (C) 2016 Intel Deutschland GmbH | 5 | * Copyright (C) 2016 Intel Deutschland GmbH |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
| 11 | #include <linux/bitops.h> | 8 | #include <linux/bitops.h> |
diff --git a/net/mac80211/tkip.h b/net/mac80211/tkip.h index a1bcbfbefe7c..676a7babdf5d 100644 --- a/net/mac80211/tkip.h +++ b/net/mac80211/tkip.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2004, Instant802 Networks, Inc. | 3 | * Copyright 2002-2004, Instant802 Networks, Inc. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef TKIP_H | 6 | #ifndef TKIP_H |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index dd220b977025..f13eb2f61ccf 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| @@ -6,11 +7,6 @@ | |||
| 6 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 7 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 7 | * Copyright (C) 2018 Intel Corporation | 8 | * Copyright (C) 2018 Intel Corporation |
| 8 | * | 9 | * |
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Transmit and frame generation functions. | 10 | * Transmit and frame generation functions. |
| 15 | */ | 11 | */ |
| 16 | 12 | ||
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index e2edc2a3cc8b..1b224fa27367 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2005, Instant802 Networks, Inc. | 3 | * Copyright 2002-2005, Instant802 Networks, Inc. |
| 3 | * Copyright 2005-2006, Devicescape Software, Inc. | 4 | * Copyright 2005-2006, Devicescape Software, Inc. |
| @@ -7,10 +8,6 @@ | |||
| 7 | * Copyright (C) 2015-2017 Intel Deutschland GmbH | 8 | * Copyright (C) 2015-2017 Intel Deutschland GmbH |
| 8 | * Copyright (C) 2018-2019 Intel Corporation | 9 | * Copyright (C) 2018-2019 Intel Corporation |
| 9 | * | 10 | * |
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | * | ||
| 14 | * utilities for mac80211 | 11 | * utilities for mac80211 |
| 15 | */ | 12 | */ |
| 16 | 13 | ||
diff --git a/net/mac80211/vht.c b/net/mac80211/vht.c index 006d82e4a397..b20ff28d9f30 100644 --- a/net/mac80211/vht.c +++ b/net/mac80211/vht.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * VHT handling | 3 | * VHT handling |
| 3 | * | 4 | * |
| 4 | * Portions of this file | 5 | * Portions of this file |
| 5 | * Copyright(c) 2015 - 2016 Intel Deutschland GmbH | 6 | * Copyright(c) 2015 - 2016 Intel Deutschland GmbH |
| 6 | * Copyright (C) 2018 Intel Corporation | 7 | * Copyright (C) 2018 Intel Corporation |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/ieee80211.h> | 10 | #include <linux/ieee80211.h> |
diff --git a/net/mac80211/wep.c b/net/mac80211/wep.c index bfe9ed9f4c48..3d9e92867ef0 100644 --- a/net/mac80211/wep.c +++ b/net/mac80211/wep.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Software WEP encryption implementation | 3 | * Software WEP encryption implementation |
| 3 | * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi> | 4 | * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi> |
| 4 | * Copyright 2003, Instant802 Networks, Inc. | 5 | * Copyright 2003, Instant802 Networks, Inc. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
diff --git a/net/mac80211/wep.h b/net/mac80211/wep.h index 9615749d1f65..866a6798c9ef 100644 --- a/net/mac80211/wep.h +++ b/net/mac80211/wep.h | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Software WEP encryption implementation | 3 | * Software WEP encryption implementation |
| 3 | * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi> | 4 | * Copyright 2002, Jouni Malinen <jkmaline@cc.hut.fi> |
| 4 | * Copyright 2003, Instant802 Networks, Inc. | 5 | * Copyright 2003, Instant802 Networks, Inc. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #ifndef WEP_H | 8 | #ifndef WEP_H |
diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 6a3187883c4b..72920d82928c 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2004, Instant802 Networks, Inc. | 3 | * Copyright 2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2013-2014 Intel Mobile Communications GmbH | 4 | * Copyright 2013-2014 Intel Mobile Communications GmbH |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/netdevice.h> | 7 | #include <linux/netdevice.h> |
diff --git a/net/mac80211/wme.h b/net/mac80211/wme.h index b1b1439cb91b..2e3dec0b6087 100644 --- a/net/mac80211/wme.h +++ b/net/mac80211/wme.h | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2004, Instant802 Networks, Inc. | 3 | * Copyright 2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2005, Devicescape Software, Inc. | 4 | * Copyright 2005, Devicescape Software, Inc. |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #ifndef _WME_H | 7 | #ifndef _WME_H |
diff --git a/net/mac80211/wpa.c b/net/mac80211/wpa.c index 5dd48f0a4b1b..a51c7909366e 100644 --- a/net/mac80211/wpa.c +++ b/net/mac80211/wpa.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2004, Instant802 Networks, Inc. | 3 | * Copyright 2002-2004, Instant802 Networks, Inc. |
| 3 | * Copyright 2008, Jouni Malinen <j@w1.fi> | 4 | * Copyright 2008, Jouni Malinen <j@w1.fi> |
| 4 | * Copyright (C) 2016-2017 Intel Deutschland GmbH | 5 | * Copyright (C) 2016-2017 Intel Deutschland GmbH |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/netdevice.h> | 8 | #include <linux/netdevice.h> |
diff --git a/net/mac80211/wpa.h b/net/mac80211/wpa.h index d98011ee8f55..af3272284e85 100644 --- a/net/mac80211/wpa.h +++ b/net/mac80211/wpa.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright 2002-2004, Instant802 Networks, Inc. | 3 | * Copyright 2002-2004, Instant802 Networks, Inc. |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #ifndef WPA_H | 6 | #ifndef WPA_H |
diff --git a/net/netfilter/ipset/ip_set_bitmap_gen.h b/net/netfilter/ipset/ip_set_bitmap_gen.h index 38ef2ea838cb..8acc4e173167 100644 --- a/net/netfilter/ipset/ip_set_bitmap_gen.h +++ b/net/netfilter/ipset/ip_set_bitmap_gen.h | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* Copyright (C) 2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | #ifndef __IP_SET_BITMAP_IP_GEN_H | 5 | #ifndef __IP_SET_BITMAP_IP_GEN_H |
diff --git a/net/netfilter/ipset/ip_set_bitmap_ip.c b/net/netfilter/ipset/ip_set_bitmap_ip.c index 488d6d05c65c..e3884b0cca91 100644 --- a/net/netfilter/ipset/ip_set_bitmap_ip.c +++ b/net/netfilter/ipset/ip_set_bitmap_ip.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | * Patrick Schaaf <bof@bof.de> | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 4 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | /* Kernel module implementing an IP set type: the bitmap:ip type */ | 7 | /* Kernel module implementing an IP set type: the bitmap:ip type */ |
diff --git a/net/netfilter/ipset/ip_set_bitmap_ipmac.c b/net/netfilter/ipset/ip_set_bitmap_ipmac.c index 980000fc3b50..b73c37b3a791 100644 --- a/net/netfilter/ipset/ip_set_bitmap_ipmac.c +++ b/net/netfilter/ipset/ip_set_bitmap_ipmac.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | * Patrick Schaaf <bof@bof.de> | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | * Martin Josefsson <gandalf@wlug.westbo.se> | 4 | * Martin Josefsson <gandalf@wlug.westbo.se> |
| 4 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 5 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | /* Kernel module implementing an IP set type: the bitmap:ip,mac type */ | 8 | /* Kernel module implementing an IP set type: the bitmap:ip,mac type */ |
diff --git a/net/netfilter/ipset/ip_set_bitmap_port.c b/net/netfilter/ipset/ip_set_bitmap_port.c index b561ca8b3659..d8c140553379 100644 --- a/net/netfilter/ipset/ip_set_bitmap_port.c +++ b/net/netfilter/ipset/ip_set_bitmap_port.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the bitmap:port type */ | 5 | /* Kernel module implementing an IP set type: the bitmap:port type */ |
diff --git a/net/netfilter/ipset/ip_set_core.c b/net/netfilter/ipset/ip_set_core.c index 3f4a4936f63c..3cdf171cd468 100644 --- a/net/netfilter/ipset/ip_set_core.c +++ b/net/netfilter/ipset/ip_set_core.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | * Patrick Schaaf <bof@bof.de> | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 4 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | /* Kernel module for IP set management */ | 7 | /* Kernel module for IP set management */ |
diff --git a/net/netfilter/ipset/ip_set_getport.c b/net/netfilter/ipset/ip_set_getport.c index 3f09cdb42562..2384e36aef5c 100644 --- a/net/netfilter/ipset/ip_set_getport.c +++ b/net/netfilter/ipset/ip_set_getport.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Get Layer-4 data from the packets */ | 5 | /* Get Layer-4 data from the packets */ |
diff --git a/net/netfilter/ipset/ip_set_hash_gen.h b/net/netfilter/ipset/ip_set_hash_gen.h index 01d51f775f12..10f619625abd 100644 --- a/net/netfilter/ipset/ip_set_hash_gen.h +++ b/net/netfilter/ipset/ip_set_hash_gen.h | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* Copyright (C) 2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | #ifndef _IP_SET_HASH_GEN_H | 5 | #ifndef _IP_SET_HASH_GEN_H |
diff --git a/net/netfilter/ipset/ip_set_hash_ip.c b/net/netfilter/ipset/ip_set_hash_ip.c index 613eb212cb48..69d7576be2e6 100644 --- a/net/netfilter/ipset/ip_set_hash_ip.c +++ b/net/netfilter/ipset/ip_set_hash_ip.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_ipmac.c b/net/netfilter/ipset/ip_set_hash_ipmac.c index c830c68142ff..faf59b6a998f 100644 --- a/net/netfilter/ipset/ip_set_hash_ipmac.c +++ b/net/netfilter/ipset/ip_set_hash_ipmac.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2016 Tomasz Chilinski <tomasz.chilinski@chilan.com> | 2 | /* Copyright (C) 2016 Tomasz Chilinski <tomasz.chilinski@chilan.com> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip,mac type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip,mac type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_ipmark.c b/net/netfilter/ipset/ip_set_hash_ipmark.c index f3ba8348cf9d..6fe1ec0d2154 100644 --- a/net/netfilter/ipset/ip_set_hash_ipmark.c +++ b/net/netfilter/ipset/ip_set_hash_ipmark.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * Copyright (C) 2013 Smoothwall Ltd. <vytas.dauksa@smoothwall.net> | 3 | * Copyright (C) 2013 Smoothwall Ltd. <vytas.dauksa@smoothwall.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | /* Kernel module implementing an IP set type: the hash:ip,mark type */ | 6 | /* Kernel module implementing an IP set type: the hash:ip,mark type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_ipport.c b/net/netfilter/ipset/ip_set_hash_ipport.c index ddb8039ec1d2..74ec7e097e34 100644 --- a/net/netfilter/ipset/ip_set_hash_ipport.c +++ b/net/netfilter/ipset/ip_set_hash_ipport.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip,port type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip,port type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_ipportip.c b/net/netfilter/ipset/ip_set_hash_ipportip.c index a7f4d7a85420..ced57d63b01f 100644 --- a/net/netfilter/ipset/ip_set_hash_ipportip.c +++ b/net/netfilter/ipset/ip_set_hash_ipportip.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip,port,ip type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip,port,ip type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_ipportnet.c b/net/netfilter/ipset/ip_set_hash_ipportnet.c index 88b83d6d3084..905f6cf0f55e 100644 --- a/net/netfilter/ipset/ip_set_hash_ipportnet.c +++ b/net/netfilter/ipset/ip_set_hash_ipportnet.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip,port,net type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip,port,net type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_mac.c b/net/netfilter/ipset/ip_set_hash_mac.c index 4fe5f243d0a3..853e772ab4d9 100644 --- a/net/netfilter/ipset/ip_set_hash_mac.c +++ b/net/netfilter/ipset/ip_set_hash_mac.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2014 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2014 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:mac type */ | 5 | /* Kernel module implementing an IP set type: the hash:mac type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_net.c b/net/netfilter/ipset/ip_set_hash_net.c index 5449e23af13a..06c91e49bf25 100644 --- a/net/netfilter/ipset/ip_set_hash_net.c +++ b/net/netfilter/ipset/ip_set_hash_net.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:net type */ | 5 | /* Kernel module implementing an IP set type: the hash:net type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_netiface.c b/net/netfilter/ipset/ip_set_hash_netiface.c index f5164c1efce2..0a8cbcdfb42b 100644 --- a/net/netfilter/ipset/ip_set_hash_netiface.c +++ b/net/netfilter/ipset/ip_set_hash_netiface.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2011-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2011-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:net,iface type */ | 5 | /* Kernel module implementing an IP set type: the hash:net,iface type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_netnet.c b/net/netfilter/ipset/ip_set_hash_netnet.c index 5a2b923bd81f..832e4f5491cb 100644 --- a/net/netfilter/ipset/ip_set_hash_netnet.c +++ b/net/netfilter/ipset/ip_set_hash_netnet.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> | 3 | * Copyright (C) 2013 Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | /* Kernel module implementing an IP set type: the hash:net type */ | 6 | /* Kernel module implementing an IP set type: the hash:net type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_netport.c b/net/netfilter/ipset/ip_set_hash_netport.c index 1a187be9ebc8..a4f3f15b874a 100644 --- a/net/netfilter/ipset/ip_set_hash_netport.c +++ b/net/netfilter/ipset/ip_set_hash_netport.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:net,port type */ | 5 | /* Kernel module implementing an IP set type: the hash:net,port type */ |
diff --git a/net/netfilter/ipset/ip_set_hash_netportnet.c b/net/netfilter/ipset/ip_set_hash_netportnet.c index 613e18e720a4..e54d415405f3 100644 --- a/net/netfilter/ipset/ip_set_hash_netportnet.c +++ b/net/netfilter/ipset/ip_set_hash_netportnet.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the hash:ip,port,net type */ | 5 | /* Kernel module implementing an IP set type: the hash:ip,port,net type */ |
diff --git a/net/netfilter/ipset/ip_set_list_set.c b/net/netfilter/ipset/ip_set_list_set.c index 4f894165cdcd..8ada318bf09d 100644 --- a/net/netfilter/ipset/ip_set_list_set.c +++ b/net/netfilter/ipset/ip_set_list_set.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2008-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2 | /* Copyright (C) 2008-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | /* Kernel module implementing an IP set type: the list:set type */ | 5 | /* Kernel module implementing an IP set type: the list:set type */ |
diff --git a/net/netfilter/ipvs/ip_vs_proto_ah_esp.c b/net/netfilter/ipvs/ip_vs_proto_ah_esp.c index 480598cb0f05..89602c16f6b6 100644 --- a/net/netfilter/ipvs/ip_vs_proto_ah_esp.c +++ b/net/netfilter/ipvs/ip_vs_proto_ah_esp.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * ip_vs_proto_ah_esp.c: AH/ESP IPSec load balancing support for IPVS | 3 | * ip_vs_proto_ah_esp.c: AH/ESP IPSec load balancing support for IPVS |
| 3 | * | 4 | * |
| 4 | * Authors: Julian Anastasov <ja@ssi.bg>, February 2002 | 5 | * Authors: Julian Anastasov <ja@ssi.bg>, February 2002 |
| 5 | * Wensong Zhang <wensong@linuxvirtualserver.org> | 6 | * Wensong Zhang <wensong@linuxvirtualserver.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * version 2 as published by the Free Software Foundation; | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #define KMSG_COMPONENT "IPVS" | 9 | #define KMSG_COMPONENT "IPVS" |
diff --git a/net/netfilter/nf_conntrack_acct.c b/net/netfilter/nf_conntrack_acct.c index 49e523cc49d0..2ccda8ace796 100644 --- a/net/netfilter/nf_conntrack_acct.c +++ b/net/netfilter/nf_conntrack_acct.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Accouting handling for netfilter. */ | 2 | /* Accouting handling for netfilter. */ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| 4 | * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl> | 5 | * (C) 2008 Krzysztof Piotr Oledzki <ole@ans.pl> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c index 2a714527cde1..f4f9b8344a32 100644 --- a/net/netfilter/nf_conntrack_core.c +++ b/net/netfilter/nf_conntrack_core.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Connection state tracking for netfilter. This is separated from, | 2 | /* Connection state tracking for netfilter. This is separated from, |
| 2 | but required by, the NAT layer; it can also be used by an iptables | 3 | but required by, the NAT layer; it can also be used by an iptables |
| 3 | extension. */ | 4 | extension. */ |
| @@ -6,10 +7,6 @@ | |||
| 6 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 7 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 7 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> | 8 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 8 | * (C) 2005-2012 Patrick McHardy <kaber@trash.net> | 9 | * (C) 2005-2012 Patrick McHardy <kaber@trash.net> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_ecache.c b/net/netfilter/nf_conntrack_ecache.c index 3d042f8ff183..5e2812ee2149 100644 --- a/net/netfilter/nf_conntrack_ecache.c +++ b/net/netfilter/nf_conntrack_ecache.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Event cache for netfilter. */ | 2 | /* Event cache for netfilter. */ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| @@ -5,10 +6,6 @@ | |||
| 5 | * (C) 2005 Patrick McHardy <kaber@trash.net> | 6 | * (C) 2005 Patrick McHardy <kaber@trash.net> |
| 6 | * (C) 2005-2006 Netfilter Core Team <coreteam@netfilter.org> | 7 | * (C) 2005-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 7 | * (C) 2005 USAGI/WIDE Project <http://www.linux-ipv6.org> | 8 | * (C) 2005 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_expect.c b/net/netfilter/nf_conntrack_expect.c index 59c18804a10a..ffd1f4906c4f 100644 --- a/net/netfilter/nf_conntrack_expect.c +++ b/net/netfilter/nf_conntrack_expect.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Expectation handling for nf_conntrack. */ | 2 | /* Expectation handling for nf_conntrack. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> | 6 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 6 | * (c) 2005-2012 Patrick McHardy <kaber@trash.net> | 7 | * (c) 2005-2012 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/types.h> | 10 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c index 32aeac1c4760..8c6c11bab5b6 100644 --- a/net/netfilter/nf_conntrack_ftp.c +++ b/net/netfilter/nf_conntrack_ftp.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* FTP extension for connection tracking. */ | 2 | /* FTP extension for connection tracking. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> | 6 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 6 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 7 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_h323_asn1.c b/net/netfilter/nf_conntrack_h323_asn1.c index 4c2ef42e189c..8f6ba8162f0b 100644 --- a/net/netfilter/nf_conntrack_h323_asn1.c +++ b/net/netfilter/nf_conntrack_h323_asn1.c | |||
| @@ -1,13 +1,11 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323 | 3 | * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323 |
| 3 | * conntrack/NAT module. | 4 | * conntrack/NAT module. |
| 4 | * | 5 | * |
| 5 | * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net> | 6 | * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 6 | * | 7 | * |
| 7 | * This source code is licensed under General Public License version 2. | ||
| 8 | * | ||
| 9 | * See ip_conntrack_helper_h323_asn1.h for details. | 8 | * See ip_conntrack_helper_h323_asn1.h for details. |
| 10 | * | ||
| 11 | */ | 9 | */ |
| 12 | 10 | ||
| 13 | #ifdef __KERNEL__ | 11 | #ifdef __KERNEL__ |
diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c index 12de40390e97..fac6986d37a8 100644 --- a/net/netfilter/nf_conntrack_h323_main.c +++ b/net/netfilter/nf_conntrack_h323_main.c | |||
| @@ -1,11 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * H.323 connection tracking helper | 3 | * H.323 connection tracking helper |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> | 5 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 5 | * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net> | 6 | * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 6 | * | 7 | * |
| 7 | * This source code is licensed under General Public License version 2. | ||
| 8 | * | ||
| 9 | * Based on the 'brute force' H.323 connection tracking module by | 8 | * Based on the 'brute force' H.323 connection tracking module by |
| 10 | * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 9 | * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 11 | * | 10 | * |
diff --git a/net/netfilter/nf_conntrack_h323_types.c b/net/netfilter/nf_conntrack_h323_types.c index d880f3523c1d..fb1cb67a5a71 100644 --- a/net/netfilter/nf_conntrack_h323_types.c +++ b/net/netfilter/nf_conntrack_h323_types.c | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007 | 2 | /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007 |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> | 4 | * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net> |
| 4 | * | ||
| 5 | * This source code is licensed under General Public License version 2. | ||
| 6 | */ | 5 | */ |
| 7 | 6 | ||
| 8 | static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */ | 7 | static const struct field_t _TransportAddress_ipAddress[] = { /* SEQUENCE */ |
diff --git a/net/netfilter/nf_conntrack_helper.c b/net/netfilter/nf_conntrack_helper.c index 918df7f71c8f..8d729e7c36ff 100644 --- a/net/netfilter/nf_conntrack_helper.c +++ b/net/netfilter/nf_conntrack_helper.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Helper handling for netfilter. */ | 2 | /* Helper handling for netfilter. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> | 6 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 6 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 7 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/types.h> | 10 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_labels.c b/net/netfilter/nf_conntrack_labels.c index adf219859901..74b8113f7aeb 100644 --- a/net/netfilter/nf_conntrack_labels.c +++ b/net/netfilter/nf_conntrack_labels.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * test/set flag bits stored in conntrack extension area. | 3 | * test/set flag bits stored in conntrack extension area. |
| 3 | * | 4 | * |
| 4 | * (C) 2013 Astaro GmbH & Co KG | 5 | * (C) 2013 Astaro GmbH & Co KG |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/export.h> | 8 | #include <linux/export.h> |
diff --git a/net/netfilter/nf_conntrack_proto_dccp.c b/net/netfilter/nf_conntrack_proto_dccp.c index 7491aa4c3566..b6b14db3955b 100644 --- a/net/netfilter/nf_conntrack_proto_dccp.c +++ b/net/netfilter/nf_conntrack_proto_dccp.c | |||
| @@ -1,12 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * DCCP connection tracking protocol helper | 3 | * DCCP connection tracking protocol helper |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2005, 2006, 2008 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | */ | 6 | */ |
| 11 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/net/netfilter/nf_conntrack_proto_generic.c b/net/netfilter/nf_conntrack_proto_generic.c index 0f526fafecae..e831637bc8ca 100644 --- a/net/netfilter/nf_conntrack_proto_generic.c +++ b/net/netfilter/nf_conntrack_proto_generic.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_proto_icmp.c b/net/netfilter/nf_conntrack_proto_icmp.c index 9becac953587..a824367ed518 100644 --- a/net/netfilter/nf_conntrack_proto_icmp.c +++ b/net/netfilter/nf_conntrack_proto_icmp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * (C) 2006-2010 Patrick McHardy <kaber@trash.net> | 4 | * (C) 2006-2010 Patrick McHardy <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_proto_icmpv6.c b/net/netfilter/nf_conntrack_proto_icmpv6.c index c63ee3612855..7e317e6698ba 100644 --- a/net/netfilter/nf_conntrack_proto_icmpv6.c +++ b/net/netfilter/nf_conntrack_proto_icmpv6.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C)2003,2004 USAGI/WIDE Project | 3 | * Copyright (C)2003,2004 USAGI/WIDE Project |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Author: | 5 | * Author: |
| 9 | * Yasuyuki Kozakai @USAGI <yasuyuki.kozakai@toshiba.co.jp> | 6 | * Yasuyuki Kozakai @USAGI <yasuyuki.kozakai@toshiba.co.jp> |
| 10 | */ | 7 | */ |
diff --git a/net/netfilter/nf_conntrack_proto_sctp.c b/net/netfilter/nf_conntrack_proto_sctp.c index 5b8dde266412..522c08c23600 100644 --- a/net/netfilter/nf_conntrack_proto_sctp.c +++ b/net/netfilter/nf_conntrack_proto_sctp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Connection tracking protocol helper module for SCTP. | 3 | * Connection tracking protocol helper module for SCTP. |
| 3 | * | 4 | * |
| @@ -6,10 +7,6 @@ | |||
| 6 | * | 7 | * |
| 7 | * SCTP is defined in RFC 2960. References to various sections in this code | 8 | * SCTP is defined in RFC 2960. References to various sections in this code |
| 8 | * are to this RFC. | 9 | * are to this RFC. |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #include <linux/types.h> | 12 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_proto_tcp.c b/net/netfilter/nf_conntrack_proto_tcp.c index 7ba01d8ee165..1e2cc83ff5da 100644 --- a/net/netfilter/nf_conntrack_proto_tcp.c +++ b/net/netfilter/nf_conntrack_proto_tcp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * (C) 2002-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 4 | * (C) 2002-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 4 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 5 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/types.h> | 8 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_proto_udp.c b/net/netfilter/nf_conntrack_proto_udp.c index 951366dfbec3..7365b43f8f98 100644 --- a/net/netfilter/nf_conntrack_proto_udp.c +++ b/net/netfilter/nf_conntrack_proto_udp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 4 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_conntrack_sane.c b/net/netfilter/nf_conntrack_sane.c index 83306648dd0f..81448c3db661 100644 --- a/net/netfilter/nf_conntrack_sane.c +++ b/net/netfilter/nf_conntrack_sane.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* SANE connection tracking helper | 2 | /* SANE connection tracking helper |
| 2 | * (SANE = Scanner Access Now Easy) | 3 | * (SANE = Scanner Access Now Easy) |
| 3 | * For documentation about the SANE network protocol see | 4 | * For documentation about the SANE network protocol see |
| @@ -11,10 +12,6 @@ | |||
| 11 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 12 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 12 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> | 13 | * (C) 2003,2004 USAGI/WIDE Project <http://www.linux-ipv6.org> |
| 13 | * (C) 2003 Yasuyuki Kozakai @USAGI <yasuyuki.kozakai@toshiba.co.jp> | 14 | * (C) 2003 Yasuyuki Kozakai @USAGI <yasuyuki.kozakai@toshiba.co.jp> |
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License version 2 as | ||
| 17 | * published by the Free Software Foundation. | ||
| 18 | */ | 15 | */ |
| 19 | 16 | ||
| 20 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 17 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c index c30c883c370b..107251731809 100644 --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* SIP extension for IP connection tracking. | 2 | /* SIP extension for IP connection tracking. |
| 2 | * | 3 | * |
| 3 | * (C) 2005 by Christian Hentschel <chentschel@arnet.com.ar> | 4 | * (C) 2005 by Christian Hentschel <chentschel@arnet.com.ar> |
| 4 | * based on RR's ip_conntrack_ftp.c and other modules. | 5 | * based on RR's ip_conntrack_ftp.c and other modules. |
| 5 | * (C) 2007 United Security Providers | 6 | * (C) 2007 United Security Providers |
| 6 | * (C) 2007, 2008 Patrick McHardy <kaber@trash.net> | 7 | * (C) 2007, 2008 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_conntrack_tftp.c b/net/netfilter/nf_conntrack_tftp.c index 6977cb91ae9a..df6d6d61bd58 100644 --- a/net/netfilter/nf_conntrack_tftp.c +++ b/net/netfilter/nf_conntrack_tftp.c | |||
| @@ -1,8 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 2001-2002 Magnus Boden <mb@ozaba.mine.nu> | 2 | /* (C) 2001-2002 Magnus Boden <mb@ozaba.mine.nu> |
| 2 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 3 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 4 | */ |
| 7 | 5 | ||
| 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_dup_netdev.c b/net/netfilter/nf_dup_netdev.c index f4a566e67213..5a35ef08c3cb 100644 --- a/net/netfilter/nf_dup_netdev.c +++ b/net/netfilter/nf_dup_netdev.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License version 2 as published by | ||
| 6 | * the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nf_log_common.c b/net/netfilter/nf_log_common.c index 3a0d6880b7c9..ae5628ddbe6d 100644 --- a/net/netfilter/nf_log_common.c +++ b/net/netfilter/nf_log_common.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/nf_log_netdev.c b/net/netfilter/nf_log_netdev.c index 350eb147754d..968dafa684c9 100644 --- a/net/netfilter/nf_log_netdev.c +++ b/net/netfilter/nf_log_netdev.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2016 by Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * (C) 2016 by Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/nf_nat_core.c b/net/netfilter/nf_nat_core.c index cd94481e6c07..9ab410455992 100644 --- a/net/netfilter/nf_nat_core.c +++ b/net/netfilter/nf_nat_core.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 1999-2001 Paul `Rusty' Russell | 3 | * (C) 1999-2001 Paul `Rusty' Russell |
| 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 4 | * (C) 2011 Patrick McHardy <kaber@trash.net> | 5 | * (C) 2011 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_nat_ftp.c b/net/netfilter/nf_nat_ftp.c index 0ea6b1bc52de..d48484a9d52d 100644 --- a/net/netfilter/nf_nat_ftp.c +++ b/net/netfilter/nf_nat_ftp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* FTP extension for TCP NAT alteration. */ | 2 | /* FTP extension for TCP NAT alteration. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nf_nat_helper.c b/net/netfilter/nf_nat_helper.c index 53aeb12b70fb..98bf543e9891 100644 --- a/net/netfilter/nf_nat_helper.c +++ b/net/netfilter/nf_nat_helper.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* nf_nat_helper.c - generic support functions for NAT helpers | 2 | /* nf_nat_helper.c - generic support functions for NAT helpers |
| 2 | * | 3 | * |
| 3 | * (C) 2000-2002 Harald Welte <laforge@netfilter.org> | 4 | * (C) 2000-2002 Harald Welte <laforge@netfilter.org> |
| 4 | * (C) 2003-2006 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2003-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * (C) 2007-2012 Patrick McHardy <kaber@trash.net> | 6 | * (C) 2007-2012 Patrick McHardy <kaber@trash.net> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 12 | #include <linux/gfp.h> | 9 | #include <linux/gfp.h> |
diff --git a/net/netfilter/nf_nat_proto.c b/net/netfilter/nf_nat_proto.c index 84f5c90a7f21..07da07788f6b 100644 --- a/net/netfilter/nf_nat_proto.c +++ b/net/netfilter/nf_nat_proto.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Paul `Rusty' Russell | 2 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 2 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/types.h> | 6 | #include <linux/types.h> |
diff --git a/net/netfilter/nf_nat_redirect.c b/net/netfilter/nf_nat_redirect.c index 78a9e6454ff3..4ffe5e5e65ba 100644 --- a/net/netfilter/nf_nat_redirect.c +++ b/net/netfilter/nf_nat_redirect.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 1999-2001 Paul `Rusty' Russell | 3 | * (C) 1999-2001 Paul `Rusty' Russell |
| 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 4 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> |
| 5 | * | 6 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * Based on Rusty Russell's IPv4 REDIRECT target. Development of IPv6 | 7 | * Based on Rusty Russell's IPv4 REDIRECT target. Development of IPv6 |
| 11 | * NAT funded by Astaro. | 8 | * NAT funded by Astaro. |
| 12 | */ | 9 | */ |
diff --git a/net/netfilter/nf_nat_sip.c b/net/netfilter/nf_nat_sip.c index 464387b3600f..7de28fa0f14a 100644 --- a/net/netfilter/nf_nat_sip.c +++ b/net/netfilter/nf_nat_sip.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* SIP extension for NAT alteration. | 2 | /* SIP extension for NAT alteration. |
| 2 | * | 3 | * |
| 3 | * (C) 2005 by Christian Hentschel <chentschel@arnet.com.ar> | 4 | * (C) 2005 by Christian Hentschel <chentschel@arnet.com.ar> |
| 4 | * based on RR's ip_nat_ftp.c and other modules. | 5 | * based on RR's ip_nat_ftp.c and other modules. |
| 5 | * (C) 2007 United Security Providers | 6 | * (C) 2007 United Security Providers |
| 6 | * (C) 2007, 2008, 2011, 2012 Patrick McHardy <kaber@trash.net> | 7 | * (C) 2007, 2008, 2011, 2012 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/netfilter/nf_nat_tftp.c b/net/netfilter/nf_nat_tftp.c index e633b3863e33..833a11f68031 100644 --- a/net/netfilter/nf_nat_tftp.c +++ b/net/netfilter/nf_nat_tftp.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 2001-2002 Magnus Boden <mb@ozaba.mine.nu> | 2 | /* (C) 2001-2002 Magnus Boden <mb@ozaba.mine.nu> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | #include <linux/module.h> | 5 | #include <linux/module.h> |
diff --git a/net/netfilter/nf_synproxy_core.c b/net/netfilter/nf_synproxy_core.c index 8ff4d22f10b2..8ce74ed985c0 100644 --- a/net/netfilter/nf_synproxy_core.c +++ b/net/netfilter/nf_synproxy_core.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2013 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c index 4b5159936034..bcf17fb46d96 100644 --- a/net/netfilter/nf_tables_api.c +++ b/net/netfilter/nf_tables_api.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2007-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2007-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index d0f168c2670f..b950cd31348b 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nf_tables_trace.c b/net/netfilter/nf_tables_trace.c index e1dc527a493b..87b36da5cd98 100644 --- a/net/netfilter/nf_tables_trace.c +++ b/net/netfilter/nf_tables_trace.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2015 Red Hat GmbH | 3 | * (C) 2015 Red Hat GmbH |
| 3 | * Author: Florian Westphal <fw@strlen.de> | 4 | * Author: Florian Westphal <fw@strlen.de> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index 0b3347570265..6dee4f9a944c 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for logging packets to userspace via | 3 | * This is a module which is used for logging packets to userspace via |
| 3 | * nfetlink. | 4 | * nfetlink. |
| @@ -7,10 +8,6 @@ | |||
| 7 | * | 8 | * |
| 8 | * Based on the old ipv4-only ipt_ULOG.c: | 9 | * Based on the old ipv4-only ipt_ULOG.c: |
| 9 | * (C) 2000-2004 by Harald Welte <laforge@netfilter.org> | 10 | * (C) 2000-2004 by Harald Welte <laforge@netfilter.org> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License version 2 as | ||
| 13 | * published by the Free Software Foundation. | ||
| 14 | */ | 11 | */ |
| 15 | 12 | ||
| 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c index 27dac47b29c2..89750f74e3a2 100644 --- a/net/netfilter/nfnetlink_queue.c +++ b/net/netfilter/nfnetlink_queue.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for queueing packets and communicating with | 3 | * This is a module which is used for queueing packets and communicating with |
| 3 | * userspace via nfnetlink. | 4 | * userspace via nfnetlink. |
| @@ -8,11 +9,6 @@ | |||
| 8 | * Based on the old ipv4-only ip_queue.c: | 9 | * Based on the old ipv4-only ip_queue.c: |
| 9 | * (C) 2000-2002 James Morris <jmorris@intercode.com.au> | 10 | * (C) 2000-2002 James Morris <jmorris@intercode.com.au> |
| 10 | * (C) 2003-2005 Netfilter Core Team <coreteam@netfilter.org> | 11 | * (C) 2003-2005 Netfilter Core Team <coreteam@netfilter.org> |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | * | ||
| 16 | */ | 12 | */ |
| 17 | 13 | ||
| 18 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/nft_bitwise.c b/net/netfilter/nft_bitwise.c index 2c75b9e0474e..b310b637b550 100644 --- a/net/netfilter/nft_bitwise.c +++ b/net/netfilter/nft_bitwise.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_byteorder.c b/net/netfilter/nft_byteorder.c index 19dbc34cc75e..e06318428ea0 100644 --- a/net/netfilter/nft_byteorder.c +++ b/net/netfilter/nft_byteorder.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_cmp.c b/net/netfilter/nft_cmp.c index f9f1fa66a16e..411c0cf741e3 100644 --- a/net/netfilter/nft_cmp.c +++ b/net/netfilter/nft_cmp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_compat.c b/net/netfilter/nft_compat.c index 276f1f2d6de1..f9adca62ccb3 100644 --- a/net/netfilter/nft_compat.c +++ b/net/netfilter/nft_compat.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This software has been sponsored by Sophos Astaro <http://www.sophos.com> | 5 | * This software has been sponsored by Sophos Astaro <http://www.sophos.com> |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_counter.c b/net/netfilter/nft_counter.c index 1a6b06ce6b5b..f6d4d0fa23a6 100644 --- a/net/netfilter/nft_counter.c +++ b/net/netfilter/nft_counter.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_ct.c b/net/netfilter/nft_ct.c index f043936763f3..dfcdea6619f1 100644 --- a/net/netfilter/nft_ct.c +++ b/net/netfilter/nft_ct.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> | 4 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/netfilter/nft_dup_netdev.c b/net/netfilter/nft_dup_netdev.c index 15cc62b293d6..c6052fdd2c40 100644 --- a/net/netfilter/nft_dup_netdev.c +++ b/net/netfilter/nft_dup_netdev.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License version 2 as published by | ||
| 6 | * the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_dynset.c b/net/netfilter/nft_dynset.c index 8394560aa695..505bdfc66801 100644 --- a/net/netfilter/nft_dynset.c +++ b/net/netfilter/nft_dynset.c | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2015 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | */ | 4 | */ |
| 9 | 5 | ||
| 10 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_exthdr.c b/net/netfilter/nft_exthdr.c index a940c9fd9045..a7aa6c5250a4 100644 --- a/net/netfilter/nft_exthdr.c +++ b/net/netfilter/nft_exthdr.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_fib.c b/net/netfilter/nft_fib.c index 77f00a99dfab..cfac0964f48d 100644 --- a/net/netfilter/nft_fib.c +++ b/net/netfilter/nft_fib.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | * | 3 | * |
| 6 | * Generic part shared by ipv4 and ipv6 backends. | 4 | * Generic part shared by ipv4 and ipv6 backends. |
| 7 | */ | 5 | */ |
diff --git a/net/netfilter/nft_fib_inet.c b/net/netfilter/nft_fib_inet.c index 9120fc7228f4..465432e0531b 100644 --- a/net/netfilter/nft_fib_inet.c +++ b/net/netfilter/nft_fib_inet.c | |||
| @@ -1,8 +1,4 @@ | |||
| 1 | /* | 1 | // SPDX-License-Identifier: GPL-2.0-only |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | */ | ||
| 6 | 2 | ||
| 7 | #include <linux/kernel.h> | 3 | #include <linux/kernel.h> |
| 8 | #include <linux/init.h> | 4 | #include <linux/init.h> |
diff --git a/net/netfilter/nft_fib_netdev.c b/net/netfilter/nft_fib_netdev.c index 3997ee36cfbd..2cf3f32fe6d2 100644 --- a/net/netfilter/nft_fib_netdev.c +++ b/net/netfilter/nft_fib_netdev.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2017 Pablo M. Bermudo Garay <pablombg@gmail.com> | 3 | * Copyright (c) 2017 Pablo M. Bermudo Garay <pablombg@gmail.com> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This code is based on net/netfilter/nft_fib_inet.c, written by | 5 | * This code is based on net/netfilter/nft_fib_inet.c, written by |
| 9 | * Florian Westphal <fw@strlen.de>. | 6 | * Florian Westphal <fw@strlen.de>. |
| 10 | */ | 7 | */ |
diff --git a/net/netfilter/nft_fwd_netdev.c b/net/netfilter/nft_fwd_netdev.c index d7694e7255a0..61b7f93ac681 100644 --- a/net/netfilter/nft_fwd_netdev.c +++ b/net/netfilter/nft_fwd_netdev.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms of the GNU General Public License version 2 as published by | ||
| 6 | * the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_hash.c b/net/netfilter/nft_hash.c index ea658e6c53e3..fe93e731dc7f 100644 --- a/net/netfilter/nft_hash.c +++ b/net/netfilter/nft_hash.c | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Laura Garcia <nevola@gmail.com> | 3 | * Copyright (c) 2016 Laura Garcia <nevola@gmail.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | */ | 4 | */ |
| 9 | 5 | ||
| 10 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_immediate.c b/net/netfilter/nft_immediate.c index 5ec43124cbca..cb8547f97220 100644 --- a/net/netfilter/nft_immediate.c +++ b/net/netfilter/nft_immediate.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_limit.c b/net/netfilter/nft_limit.c index 72f13a1144dd..35b67d7e3694 100644 --- a/net/netfilter/nft_limit.c +++ b/net/netfilter/nft_limit.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_log.c b/net/netfilter/nft_log.c index 655187bed5d8..fe4831f2258f 100644 --- a/net/netfilter/nft_log.c +++ b/net/netfilter/nft_log.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2012-2014 Pablo Neira Ayuso <pablo@netfilter.org> | 4 | * Copyright (c) 2012-2014 Pablo Neira Ayuso <pablo@netfilter.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/netfilter/nft_lookup.c b/net/netfilter/nft_lookup.c index 161c3451a747..c0560bf3c31b 100644 --- a/net/netfilter/nft_lookup.c +++ b/net/netfilter/nft_lookup.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_masq.c b/net/netfilter/nft_masq.c index 8c1612d6bc2c..39dc94f2491e 100644 --- a/net/netfilter/nft_masq.c +++ b/net/netfilter/nft_masq.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014 Arturo Borrero Gonzalez <arturo@debian.org> | 3 | * Copyright (c) 2014 Arturo Borrero Gonzalez <arturo@debian.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_meta.c b/net/netfilter/nft_meta.c index 987d2d6ce624..a54329b8634a 100644 --- a/net/netfilter/nft_meta.c +++ b/net/netfilter/nft_meta.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2014 Intel Corporation | 4 | * Copyright (c) 2014 Intel Corporation |
| 4 | * Author: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 5 | * Author: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
| 5 | * | 6 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 7 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 11 | */ | 8 | */ |
| 12 | 9 | ||
diff --git a/net/netfilter/nft_numgen.c b/net/netfilter/nft_numgen.c index 3cc1b3dc3c3c..48edb9d5f012 100644 --- a/net/netfilter/nft_numgen.c +++ b/net/netfilter/nft_numgen.c | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Laura Garcia <nevola@gmail.com> | 3 | * Copyright (c) 2016 Laura Garcia <nevola@gmail.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | */ | 4 | */ |
| 9 | 5 | ||
| 10 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_payload.c b/net/netfilter/nft_payload.c index 54e15de4b79a..680bd9f38a81 100644 --- a/net/netfilter/nft_payload.c +++ b/net/netfilter/nft_payload.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> | 4 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/netfilter/nft_queue.c b/net/netfilter/nft_queue.c index 98613658d4ac..5ece0a6aa8c3 100644 --- a/net/netfilter/nft_queue.c +++ b/net/netfilter/nft_queue.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> | 3 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code partly funded by OISF | 5 | * Development of this code partly funded by OISF |
| 9 | * (http://www.openinfosecfoundation.org/) | 6 | * (http://www.openinfosecfoundation.org/) |
| 10 | */ | 7 | */ |
diff --git a/net/netfilter/nft_quota.c b/net/netfilter/nft_quota.c index 354cde67bca9..c8745d454bf8 100644 --- a/net/netfilter/nft_quota.c +++ b/net/netfilter/nft_quota.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_range.c b/net/netfilter/nft_range.c index 529ac8acb19d..4701fa8a45e7 100644 --- a/net/netfilter/nft_range.c +++ b/net/netfilter/nft_range.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_redir.c b/net/netfilter/nft_redir.c index 8787e9f8ed71..8487eeff5c0e 100644 --- a/net/netfilter/nft_redir.c +++ b/net/netfilter/nft_redir.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014 Arturo Borrero Gonzalez <arturo@debian.org> | 3 | * Copyright (c) 2014 Arturo Borrero Gonzalez <arturo@debian.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_reject.c b/net/netfilter/nft_reject.c index b48e58cceeb7..00f865fb80ca 100644 --- a/net/netfilter/nft_reject.c +++ b/net/netfilter/nft_reject.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> | 4 | * Copyright (c) 2013 Eric Leblond <eric@regit.org> |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 6 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 10 | */ | 7 | */ |
| 11 | 8 | ||
diff --git a/net/netfilter/nft_reject_inet.c b/net/netfilter/nft_reject_inet.c index 5a7fb5ff867d..f41f414b72d1 100644 --- a/net/netfilter/nft_reject_inet.c +++ b/net/netfilter/nft_reject_inet.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2014 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2014 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_rt.c b/net/netfilter/nft_rt.c index c48daed5c46b..7cfcb0e2f7ee 100644 --- a/net/netfilter/nft_rt.c +++ b/net/netfilter/nft_rt.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Anders K. Pedersen <akp@cohaesio.com> | 3 | * Copyright (c) 2016 Anders K. Pedersen <akp@cohaesio.com> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_set_bitmap.c b/net/netfilter/nft_set_bitmap.c index f866bd41e5d2..b5aeccdddb22 100644 --- a/net/netfilter/nft_set_bitmap.c +++ b/net/netfilter/nft_set_bitmap.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2017 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * Copyright (c) 2017 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/kernel.h> | 6 | #include <linux/kernel.h> |
diff --git a/net/netfilter/nft_set_hash.c b/net/netfilter/nft_set_hash.c index 03df08801e28..6e8d20c03e3d 100644 --- a/net/netfilter/nft_set_hash.c +++ b/net/netfilter/nft_set_hash.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2014 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2014 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_set_rbtree.c b/net/netfilter/nft_set_rbtree.c index 321a0036fdf5..419d58ef802b 100644 --- a/net/netfilter/nft_set_rbtree.c +++ b/net/netfilter/nft_set_rbtree.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Development of this code funded by Astaro AG (http://www.astaro.com/) | 5 | * Development of this code funded by Astaro AG (http://www.astaro.com/) |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/nft_xfrm.c b/net/netfilter/nft_xfrm.c index b08865ec5ed3..06d5cabf1d7c 100644 --- a/net/netfilter/nft_xfrm.c +++ b/net/netfilter/nft_xfrm.c | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | * | 3 | * |
| 6 | * Generic part shared by ipv4 and ipv6 backends. | 4 | * Generic part shared by ipv4 and ipv6 backends. |
| 7 | */ | 5 | */ |
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c index 0a6656ed1534..ce70c2576bb2 100644 --- a/net/netfilter/x_tables.c +++ b/net/netfilter/x_tables.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * x_tables core - Backend for {ip,ip6,arp}_tables | 3 | * x_tables core - Backend for {ip,ip6,arp}_tables |
| 3 | * | 4 | * |
| @@ -7,11 +8,6 @@ | |||
| 7 | * Based on existing ip_tables code which is | 8 | * Based on existing ip_tables code which is |
| 8 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling | 9 | * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling |
| 9 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> | 10 | * Copyright (C) 2000-2005 Netfilter Core Team <coreteam@netfilter.org> |
| 10 | * | ||
| 11 | * This program is free software; you can redistribute it and/or modify | ||
| 12 | * it under the terms of the GNU General Public License version 2 as | ||
| 13 | * published by the Free Software Foundation. | ||
| 14 | * | ||
| 15 | */ | 11 | */ |
| 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 17 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
diff --git a/net/netfilter/xt_AUDIT.c b/net/netfilter/xt_AUDIT.c index af883f1b64f9..9cdc16b0d0d8 100644 --- a/net/netfilter/xt_AUDIT.c +++ b/net/netfilter/xt_AUDIT.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Creates audit record for dropped/accepted packets | 3 | * Creates audit record for dropped/accepted packets |
| 3 | * | 4 | * |
| 4 | * (C) 2010-2011 Thomas Graf <tgraf@redhat.com> | 5 | * (C) 2010-2011 Thomas Graf <tgraf@redhat.com> |
| 5 | * (C) 2010-2011 Red Hat, Inc. | 6 | * (C) 2010-2011 Red Hat, Inc. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_CHECKSUM.c b/net/netfilter/xt_CHECKSUM.c index 6c7aa6a0a0d2..c8a639f56168 100644 --- a/net/netfilter/xt_CHECKSUM.c +++ b/net/netfilter/xt_CHECKSUM.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* iptables module for the packet checksum mangling | 2 | /* iptables module for the packet checksum mangling |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2002 by Harald Welte <laforge@netfilter.org> |
| 4 | * (C) 2010 Red Hat, Inc. | 5 | * (C) 2010 Red Hat, Inc. |
| 5 | * | 6 | * |
| 6 | * Author: Michael S. Tsirkin <mst@redhat.com> | 7 | * Author: Michael S. Tsirkin <mst@redhat.com> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_CLASSIFY.c b/net/netfilter/xt_CLASSIFY.c index af9c4dadf816..0accac98dea7 100644 --- a/net/netfilter/xt_CLASSIFY.c +++ b/net/netfilter/xt_CLASSIFY.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for setting the skb->priority field | 3 | * This is a module which is used for setting the skb->priority field |
| 3 | * of an skb for qdisc classification. | 4 | * of an skb for qdisc classification. |
| 4 | */ | 5 | */ |
| 5 | 6 | ||
| 6 | /* (C) 2001-2002 Patrick McHardy <kaber@trash.net> | 7 | /* (C) 2001-2002 Patrick McHardy <kaber@trash.net> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_CONNSECMARK.c b/net/netfilter/xt_CONNSECMARK.c index f3f1caac949b..a5c8b653476a 100644 --- a/net/netfilter/xt_CONNSECMARK.c +++ b/net/netfilter/xt_CONNSECMARK.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This module is used to copy security markings from packets | 3 | * This module is used to copy security markings from packets |
| 3 | * to connections, and restore security markings from connections | 4 | * to connections, and restore security markings from connections |
| @@ -9,11 +10,6 @@ | |||
| 9 | * by Henrik Nordstrom <hno@marasystems.com> | 10 | * by Henrik Nordstrom <hno@marasystems.com> |
| 10 | * | 11 | * |
| 11 | * (C) 2006,2008 Red Hat, Inc., James Morris <jmorris@redhat.com> | 12 | * (C) 2006,2008 Red Hat, Inc., James Morris <jmorris@redhat.com> |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 as | ||
| 15 | * published by the Free Software Foundation. | ||
| 16 | * | ||
| 17 | */ | 13 | */ |
| 18 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 19 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_CT.c b/net/netfilter/xt_CT.c index d59cb4730fac..d4deee39158b 100644 --- a/net/netfilter/xt_CT.c +++ b/net/netfilter/xt_CT.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2010 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2010 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_DSCP.c b/net/netfilter/xt_DSCP.c index 098ed851b7a7..b1054a3d18c5 100644 --- a/net/netfilter/xt_DSCP.c +++ b/net/netfilter/xt_DSCP.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* x_tables module for setting the IPv4/IPv6 DSCP field, Version 1.8 | 2 | /* x_tables module for setting the IPv4/IPv6 DSCP field, Version 1.8 |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2002 by Harald Welte <laforge@netfilter.org> |
| 4 | * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com> | 5 | * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <mgm@paktronix.com> |
| 5 | * | 6 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * See RFC2474 for a description of the DSCP field within the IP Header. | 7 | * See RFC2474 for a description of the DSCP field within the IP Header. |
| 11 | */ | 8 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_HL.c b/net/netfilter/xt_HL.c index 4653b071bed4..8221a5ce44bf 100644 --- a/net/netfilter/xt_HL.c +++ b/net/netfilter/xt_HL.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * TTL modification target for IP tables | 3 | * TTL modification target for IP tables |
| 3 | * (C) 2000,2005 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2000,2005 by Harald Welte <laforge@netfilter.org> |
| 4 | * | 5 | * |
| 5 | * Hop Limit modification target for ip6tables | 6 | * Hop Limit modification target for ip6tables |
| 6 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> | 7 | * Maciej Soltysiak <solt@dns.toxicfilms.tv> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_HMARK.c b/net/netfilter/xt_HMARK.c index 9c75f419cd80..be7798a50546 100644 --- a/net/netfilter/xt_HMARK.c +++ b/net/netfilter/xt_HMARK.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * xt_HMARK - Netfilter module to set mark by means of hashing | 3 | * xt_HMARK - Netfilter module to set mark by means of hashing |
| 3 | * | 4 | * |
| 4 | * (C) 2012 by Hans Schillstrom <hans.schillstrom@ericsson.com> | 5 | * (C) 2012 by Hans Schillstrom <hans.schillstrom@ericsson.com> |
| 5 | * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> | 6 | * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published by | ||
| 9 | * the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_LOG.c b/net/netfilter/xt_LOG.c index c3b2017ebe41..a1e79b517c01 100644 --- a/net/netfilter/xt_LOG.c +++ b/net/netfilter/xt_LOG.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for logging packets. | 3 | * This is a module which is used for logging packets. |
| 3 | */ | 4 | */ |
| 4 | 5 | ||
| 5 | /* (C) 1999-2001 Paul `Rusty' Russell | 6 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 6 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 7 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_MASQUERADE.c b/net/netfilter/xt_MASQUERADE.c index ece20d832adc..eae05c178336 100644 --- a/net/netfilter/xt_MASQUERADE.c +++ b/net/netfilter/xt_MASQUERADE.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Masquerade. Simple mapping which alters range to a local IP address | 2 | /* Masquerade. Simple mapping which alters range to a local IP address |
| 2 | (depending on route). */ | 3 | (depending on route). */ |
| 3 | 4 | ||
| 4 | /* (C) 1999-2001 Paul `Rusty' Russell | 5 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 5 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 6 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_NETMAP.c b/net/netfilter/xt_NETMAP.c index 1d437875e15a..cb2ee80d84fa 100644 --- a/net/netfilter/xt_NETMAP.c +++ b/net/netfilter/xt_NETMAP.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2000-2001 Svenning Soerensen <svenning@post5.tele.dk> | 3 | * (C) 2000-2001 Svenning Soerensen <svenning@post5.tele.dk> |
| 3 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> | 4 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/ip.h> | 7 | #include <linux/ip.h> |
diff --git a/net/netfilter/xt_NFLOG.c b/net/netfilter/xt_NFLOG.c index 1ed0cac585c4..6e83ce3000db 100644 --- a/net/netfilter/xt_NFLOG.c +++ b/net/netfilter/xt_NFLOG.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_NFQUEUE.c b/net/netfilter/xt_NFQUEUE.c index a9aca80a32ae..466da23e36ff 100644 --- a/net/netfilter/xt_NFQUEUE.c +++ b/net/netfilter/xt_NFQUEUE.c | |||
| @@ -1,11 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* iptables module for using new netfilter netlink queue | 2 | /* iptables module for using new netfilter netlink queue |
| 2 | * | 3 | * |
| 3 | * (C) 2005 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2005 by Harald Welte <laforge@netfilter.org> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | 5 | */ |
| 10 | 6 | ||
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_RATEEST.c b/net/netfilter/xt_RATEEST.c index 9e05c86ba5c4..2236455b10a3 100644 --- a/net/netfilter/xt_RATEEST.c +++ b/net/netfilter/xt_RATEEST.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2007 Patrick McHardy <kaber@trash.net> | 3 | * (C) 2007 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #include <linux/module.h> | 5 | #include <linux/module.h> |
| 9 | #include <linux/skbuff.h> | 6 | #include <linux/skbuff.h> |
diff --git a/net/netfilter/xt_REDIRECT.c b/net/netfilter/xt_REDIRECT.c index 5ce9461e979c..353ca7801251 100644 --- a/net/netfilter/xt_REDIRECT.c +++ b/net/netfilter/xt_REDIRECT.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 1999-2001 Paul `Rusty' Russell | 3 | * (C) 1999-2001 Paul `Rusty' Russell |
| 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 4 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> |
| 5 | * | 6 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | * Based on Rusty Russell's IPv4 REDIRECT target. Development of IPv6 | 7 | * Based on Rusty Russell's IPv4 REDIRECT target. Development of IPv6 |
| 11 | * NAT funded by Astaro. | 8 | * NAT funded by Astaro. |
| 12 | */ | 9 | */ |
diff --git a/net/netfilter/xt_SECMARK.c b/net/netfilter/xt_SECMARK.c index f16202d26c20..2317721f3ecb 100644 --- a/net/netfilter/xt_SECMARK.c +++ b/net/netfilter/xt_SECMARK.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Module for modifying the secmark field of the skb, for use by | 3 | * Module for modifying the secmark field of the skb, for use by |
| 3 | * security subsystems. | 4 | * security subsystems. |
| @@ -6,11 +7,6 @@ | |||
| 6 | * (C) 1999-2001 Marc Boucher <marc@mbsi.ca> | 7 | * (C) 1999-2001 Marc Boucher <marc@mbsi.ca> |
| 7 | * | 8 | * |
| 8 | * (C) 2006,2008 Red Hat, Inc., James Morris <jmorris@redhat.com> | 9 | * (C) 2006,2008 Red Hat, Inc., James Morris <jmorris@redhat.com> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | * | ||
| 14 | */ | 10 | */ |
| 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 16 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_TCPMSS.c b/net/netfilter/xt_TCPMSS.c index 98efb202f8b4..0b3a1b291c91 100644 --- a/net/netfilter/xt_TCPMSS.c +++ b/net/netfilter/xt_TCPMSS.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * This is a module which is used for setting the MSS option in TCP packets. | 3 | * This is a module which is used for setting the MSS option in TCP packets. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2000 Marc Boucher <marc@mbsi.ca> | 5 | * Copyright (C) 2000 Marc Boucher <marc@mbsi.ca> |
| 5 | * Copyright (C) 2007 Patrick McHardy <kaber@trash.net> | 6 | * Copyright (C) 2007 Patrick McHardy <kaber@trash.net> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_TCPOPTSTRIP.c b/net/netfilter/xt_TCPOPTSTRIP.c index eb92bffff11c..666f4ca9b15f 100644 --- a/net/netfilter/xt_TCPOPTSTRIP.c +++ b/net/netfilter/xt_TCPOPTSTRIP.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * A module for stripping a specific TCP option from TCP packets. | 3 | * A module for stripping a specific TCP option from TCP packets. |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2007 Sven Schnelle <svens@bitebene.org> | 5 | * Copyright (C) 2007 Sven Schnelle <svens@bitebene.org> |
| 5 | * Copyright © CC Computer Consultants GmbH, 2007 | 6 | * Copyright © CC Computer Consultants GmbH, 2007 |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_TPROXY.c b/net/netfilter/xt_TPROXY.c index ad7420cdc439..194dc03341f3 100644 --- a/net/netfilter/xt_TPROXY.c +++ b/net/netfilter/xt_TPROXY.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Transparent proxy support for Linux/iptables | 3 | * Transparent proxy support for Linux/iptables |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2006-2010 BalaBit IT Ltd. | 5 | * Copyright (c) 2006-2010 BalaBit IT Ltd. |
| 5 | * Author: Balazs Scheidler, Krisztian Kovacs | 6 | * Author: Balazs Scheidler, Krisztian Kovacs |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_addrtype.c b/net/netfilter/xt_addrtype.c index 29987ff03621..e9b2181e8c42 100644 --- a/net/netfilter/xt_addrtype.c +++ b/net/netfilter/xt_addrtype.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * iptables module to match inet_addr_type() of an ip. | 3 | * iptables module to match inet_addr_type() of an ip. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2004 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2004 Patrick McHardy <kaber@trash.net> |
| 5 | * (C) 2007 Laszlo Attila Toth <panther@balabit.hu> | 6 | * (C) 2007 Laszlo Attila Toth <panther@balabit.hu> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/net/netfilter/xt_bpf.c b/net/netfilter/xt_bpf.c index a2cf8a6236d6..13cf3f9b5938 100644 --- a/net/netfilter/xt_bpf.c +++ b/net/netfilter/xt_bpf.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Xtables module to match packets using a BPF filter. | 2 | /* Xtables module to match packets using a BPF filter. |
| 2 | * Copyright 2013 Google Inc. | 3 | * Copyright 2013 Google Inc. |
| 3 | * Written by Willem de Bruijn <willemb@google.com> | 4 | * Written by Willem de Bruijn <willemb@google.com> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_cgroup.c b/net/netfilter/xt_cgroup.c index 5cb1ecb29ea4..c0f5e9a4f3c6 100644 --- a/net/netfilter/xt_cgroup.c +++ b/net/netfilter/xt_cgroup.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Xtables module to match the process control group. | 3 | * Xtables module to match the process control group. |
| 3 | * | 4 | * |
| @@ -6,10 +7,6 @@ | |||
| 6 | * Matching is based upon processes tagged to net_cls' classid marker. | 7 | * Matching is based upon processes tagged to net_cls' classid marker. |
| 7 | * | 8 | * |
| 8 | * (C) 2013 Daniel Borkmann <dborkman@redhat.com> | 9 | * (C) 2013 Daniel Borkmann <dborkman@redhat.com> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_cluster.c b/net/netfilter/xt_cluster.c index 51d0c257e7a5..a047a545371e 100644 --- a/net/netfilter/xt_cluster.c +++ b/net/netfilter/xt_cluster.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2008-2009 Pablo Neira Ayuso <pablo@netfilter.org> | 3 | * (C) 2008-2009 Pablo Neira Ayuso <pablo@netfilter.org> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_connlabel.c b/net/netfilter/xt_connlabel.c index 893374ac3758..87505cdad5f1 100644 --- a/net/netfilter/xt_connlabel.c +++ b/net/netfilter/xt_connlabel.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2013 Astaro GmbH & Co KG | 3 | * (C) 2013 Astaro GmbH & Co KG |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_conntrack.c b/net/netfilter/xt_conntrack.c index df80fe7d391c..ea299da24734 100644 --- a/net/netfilter/xt_conntrack.c +++ b/net/netfilter/xt_conntrack.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * xt_conntrack - Netfilter module to match connection tracking | 3 | * xt_conntrack - Netfilter module to match connection tracking |
| 3 | * information. (Superset of Rusty's minimalistic state match.) | 4 | * information. (Superset of Rusty's minimalistic state match.) |
| @@ -5,10 +6,6 @@ | |||
| 5 | * (C) 2001 Marc Boucher (marc@mbsi.ca). | 6 | * (C) 2001 Marc Boucher (marc@mbsi.ca). |
| 6 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 7 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 7 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 | 8 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 14 | #include <linux/module.h> | 11 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_cpu.c b/net/netfilter/xt_cpu.c index c7a2e5466bc4..3bdc302a0f91 100644 --- a/net/netfilter/xt_cpu.c +++ b/net/netfilter/xt_cpu.c | |||
| @@ -1,17 +1,13 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match running CPU */ | 2 | /* Kernel module to match running CPU */ |
| 2 | 3 | ||
| 3 | /* | 4 | /* |
| 4 | * Might be used to distribute connections on several daemons, if | 5 | * Might be used to distribute connections on several daemons, if |
| 5 | * RPS (Remote Packet Steering) is enabled or NIC is multiqueue capable, | 6 | * RPS (Remote Packet Steering) is enabled or NIC is multiqueue capable, |
| 6 | * each RX queue IRQ affined to one CPU (1:1 mapping) | 7 | * each RX queue IRQ affined to one CPU (1:1 mapping) |
| 7 | * | ||
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | /* (C) 2010 Eric Dumazet | 10 | /* (C) 2010 Eric Dumazet |
| 11 | * | ||
| 12 | * This program is free software; you can redistribute it and/or modify | ||
| 13 | * it under the terms of the GNU General Public License version 2 as | ||
| 14 | * published by the Free Software Foundation. | ||
| 15 | */ | 11 | */ |
| 16 | 12 | ||
| 17 | #include <linux/module.h> | 13 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_dccp.c b/net/netfilter/xt_dccp.c index b63d2a3d80ba..e5a13ecbe67a 100644 --- a/net/netfilter/xt_dccp.c +++ b/net/netfilter/xt_dccp.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * iptables module for DCCP protocol header matching | 3 | * iptables module for DCCP protocol header matching |
| 3 | * | 4 | * |
| 4 | * (C) 2005 by Harald Welte <laforge@netfilter.org> | 5 | * (C) 2005 by Harald Welte <laforge@netfilter.org> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_devgroup.c b/net/netfilter/xt_devgroup.c index 96ebe1cdefec..9520dd00070b 100644 --- a/net/netfilter/xt_devgroup.c +++ b/net/netfilter/xt_devgroup.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2011 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_dscp.c b/net/netfilter/xt_dscp.c index a4c2b862f820..fb0169a8f9bb 100644 --- a/net/netfilter/xt_dscp.c +++ b/net/netfilter/xt_dscp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* IP tables module for matching the value of the IPv4/IPv6 DSCP field | 2 | /* IP tables module for matching the value of the IPv4/IPv6 DSCP field |
| 2 | * | 3 | * |
| 3 | * (C) 2002 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2002 by Harald Welte <laforge@netfilter.org> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_ecn.c b/net/netfilter/xt_ecn.c index c7ad4afa5fb8..b96e8203ac54 100644 --- a/net/netfilter/xt_ecn.c +++ b/net/netfilter/xt_ecn.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Xtables module for matching the value of the IPv4/IPv6 and TCP ECN bits | 3 | * Xtables module for matching the value of the IPv4/IPv6 and TCP ECN bits |
| 3 | * | 4 | * |
| 4 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> | 5 | * (C) 2002 by Harald Welte <laforge@gnumonks.org> |
| 5 | * (C) 2011 Patrick McHardy <kaber@trash.net> | 6 | * (C) 2011 Patrick McHardy <kaber@trash.net> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/in.h> | 9 | #include <linux/in.h> |
diff --git a/net/netfilter/xt_esp.c b/net/netfilter/xt_esp.c index 171ba82b5902..2a1c0ad0ff07 100644 --- a/net/netfilter/xt_esp.c +++ b/net/netfilter/xt_esp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match ESP parameters. */ | 2 | /* Kernel module to match ESP parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2000 Yon Uriarte <yon@astaro.de> | 4 | /* (C) 1999-2000 Yon Uriarte <yon@astaro.de> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_helper.c b/net/netfilter/xt_helper.c index fd077aeaaed9..a5a167f941e0 100644 --- a/net/netfilter/xt_helper.c +++ b/net/netfilter/xt_helper.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* iptables module to match on related connections */ | 2 | /* iptables module to match on related connections */ |
| 2 | /* | 3 | /* |
| 3 | * (C) 2001 Martin Josefsson <gandalf@wlug.westbo.se> | 4 | * (C) 2001 Martin Josefsson <gandalf@wlug.westbo.se> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_hl.c b/net/netfilter/xt_hl.c index 003951149c9e..c1a70f8f0441 100644 --- a/net/netfilter/xt_hl.c +++ b/net/netfilter/xt_hl.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * IP tables module for matching the value of the TTL | 3 | * IP tables module for matching the value of the TTL |
| 3 | * (C) 2000,2001 by Harald Welte <laforge@netfilter.org> | 4 | * (C) 2000,2001 by Harald Welte <laforge@netfilter.org> |
| 4 | * | 5 | * |
| 5 | * Hop Limit matching module | 6 | * Hop Limit matching module |
| 6 | * (C) 2001-2002 Maciej Soltysiak <solt@dns.toxicfilms.tv> | 7 | * (C) 2001-2002 Maciej Soltysiak <solt@dns.toxicfilms.tv> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/ip.h> | 10 | #include <linux/ip.h> |
diff --git a/net/netfilter/xt_iprange.c b/net/netfilter/xt_iprange.c index b46626cddd93..140ce6be639a 100644 --- a/net/netfilter/xt_iprange.c +++ b/net/netfilter/xt_iprange.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * xt_iprange - Netfilter module to match IP address ranges | 3 | * xt_iprange - Netfilter module to match IP address ranges |
| 3 | * | 4 | * |
| 4 | * (C) 2003 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 5 | * (C) 2003 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | * (C) CC Computer Consultants GmbH, 2008 | 6 | * (C) CC Computer Consultants GmbH, 2008 |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_l2tp.c b/net/netfilter/xt_l2tp.c index c43482bf48e6..a61eb81e9f49 100644 --- a/net/netfilter/xt_l2tp.c +++ b/net/netfilter/xt_l2tp.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match L2TP header parameters. */ | 2 | /* Kernel module to match L2TP header parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 2013 James Chapman <jchapman@katalix.com> | 4 | /* (C) 2013 James Chapman <jchapman@katalix.com> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_length.c b/net/netfilter/xt_length.c index 176e5570a999..1873da3a945a 100644 --- a/net/netfilter/xt_length.c +++ b/net/netfilter/xt_length.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match packet length. */ | 2 | /* Kernel module to match packet length. */ |
| 2 | /* (C) 1999-2001 James Morris <jmorros@intercode.com.au> | 3 | /* (C) 1999-2001 James Morris <jmorros@intercode.com.au> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | 5 | ||
| 9 | #include <linux/module.h> | 6 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_limit.c b/net/netfilter/xt_limit.c index 9f098ecb2449..bd1dea9c7b88 100644 --- a/net/netfilter/xt_limit.c +++ b/net/netfilter/xt_limit.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999 Jérôme de Vivie <devivie@info.enserb.u-bordeaux.fr> | 2 | /* (C) 1999 Jérôme de Vivie <devivie@info.enserb.u-bordeaux.fr> |
| 2 | * (C) 1999 Hervé Eychenne <eychenne@info.enserb.u-bordeaux.fr> | 3 | * (C) 1999 Hervé Eychenne <eychenne@info.enserb.u-bordeaux.fr> |
| 3 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> | 4 | * (C) 2006-2012 Patrick McHardy <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | 7 | ||
diff --git a/net/netfilter/xt_mac.c b/net/netfilter/xt_mac.c index d5b4fd4f91ed..81649da57ba5 100644 --- a/net/netfilter/xt_mac.c +++ b/net/netfilter/xt_mac.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match MAC address parameters. */ | 2 | /* Kernel module to match MAC address parameters. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_mark.c b/net/netfilter/xt_mark.c index ebd41dc501e5..1ad74b5920b5 100644 --- a/net/netfilter/xt_mark.c +++ b/net/netfilter/xt_mark.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * xt_mark - Netfilter module to match NFMARK value | 3 | * xt_mark - Netfilter module to match NFMARK value |
| 3 | * | 4 | * |
| 4 | * (C) 1999-2001 Marc Boucher <marc@mbsi.ca> | 5 | * (C) 1999-2001 Marc Boucher <marc@mbsi.ca> |
| 5 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 | 6 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 |
| 6 | * Jan Engelhardt <jengelh@medozas.de> | 7 | * Jan Engelhardt <jengelh@medozas.de> |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License version 2 as | ||
| 10 | * published by the Free Software Foundation. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_multiport.c b/net/netfilter/xt_multiport.c index 1cde0e4985b7..44a00f5acde8 100644 --- a/net/netfilter/xt_multiport.c +++ b/net/netfilter/xt_multiport.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match one of a list of TCP/UDP(-Lite)/SCTP/DCCP ports: | 2 | /* Kernel module to match one of a list of TCP/UDP(-Lite)/SCTP/DCCP ports: |
| 2 | ports are in the same place so we can treat them as equal. */ | 3 | ports are in the same place so we can treat them as equal. */ |
| 3 | 4 | ||
| 4 | /* (C) 1999-2001 Paul `Rusty' Russell | 5 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 5 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> | 6 | * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_nat.c b/net/netfilter/xt_nat.c index 61eabd171186..a8e5f6c8db7a 100644 --- a/net/netfilter/xt_nat.c +++ b/net/netfilter/xt_nat.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 1999-2001 Paul `Rusty' Russell | 3 | * (C) 1999-2001 Paul `Rusty' Russell |
| 3 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> | 4 | * (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org> |
| 4 | * (C) 2011 Patrick McHardy <kaber@trash.net> | 5 | * (C) 2011 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/netfilter/xt_owner.c b/net/netfilter/xt_owner.c index 46686fb73784..95f64a99e425 100644 --- a/net/netfilter/xt_owner.c +++ b/net/netfilter/xt_owner.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Kernel module to match various things tied to sockets associated with | 3 | * Kernel module to match various things tied to sockets associated with |
| 3 | * locally generated outgoing packets. | 4 | * locally generated outgoing packets. |
| @@ -5,10 +6,6 @@ | |||
| 5 | * (C) 2000 Marc Boucher <marc@mbsi.ca> | 6 | * (C) 2000 Marc Boucher <marc@mbsi.ca> |
| 6 | * | 7 | * |
| 7 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 | 8 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | #include <linux/module.h> | 10 | #include <linux/module.h> |
| 14 | #include <linux/skbuff.h> | 11 | #include <linux/skbuff.h> |
diff --git a/net/netfilter/xt_physdev.c b/net/netfilter/xt_physdev.c index b2e39cb6a590..ead7c6022208 100644 --- a/net/netfilter/xt_physdev.c +++ b/net/netfilter/xt_physdev.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match the bridge port in and | 2 | /* Kernel module to match the bridge port in and |
| 2 | * out device for IP packets coming into contact with a bridge. */ | 3 | * out device for IP packets coming into contact with a bridge. */ |
| 3 | 4 | ||
| 4 | /* (C) 2001-2003 Bart De Schuymer <bdschuym@pandora.be> | 5 | /* (C) 2001-2003 Bart De Schuymer <bdschuym@pandora.be> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 7 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_pkttype.c b/net/netfilter/xt_pkttype.c index 1ef99151b3ba..f48946aef49f 100644 --- a/net/netfilter/xt_pkttype.c +++ b/net/netfilter/xt_pkttype.c | |||
| @@ -1,8 +1,5 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* (C) 1999-2001 Michal Ludvig <michal@logix.cz> | 2 | /* (C) 1999-2001 Michal Ludvig <michal@logix.cz> |
| 2 | * | ||
| 3 | * This program is free software; you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License version 2 as | ||
| 5 | * published by the Free Software Foundation. | ||
| 6 | */ | 3 | */ |
| 7 | 4 | ||
| 8 | #include <linux/module.h> | 5 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_policy.c b/net/netfilter/xt_policy.c index aa84e8121c93..cb6e8279010a 100644 --- a/net/netfilter/xt_policy.c +++ b/net/netfilter/xt_policy.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* IP tables module for matching IPsec policy | 2 | /* IP tables module for matching IPsec policy |
| 2 | * | 3 | * |
| 3 | * Copyright (c) 2004,2005 Patrick McHardy, <kaber@trash.net> | 4 | * Copyright (c) 2004,2005 Patrick McHardy, <kaber@trash.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 10 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
diff --git a/net/netfilter/xt_rateest.c b/net/netfilter/xt_rateest.c index bf77326861af..72324bd976af 100644 --- a/net/netfilter/xt_rateest.c +++ b/net/netfilter/xt_rateest.c | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * (C) 2007 Patrick McHardy <kaber@trash.net> | 3 | * (C) 2007 Patrick McHardy <kaber@trash.net> |
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | 4 | */ |
| 8 | #include <linux/module.h> | 5 | #include <linux/module.h> |
| 9 | #include <linux/skbuff.h> | 6 | #include <linux/skbuff.h> |
diff --git a/net/netfilter/xt_realm.c b/net/netfilter/xt_realm.c index 459a7b256eb2..6df485f4403d 100644 --- a/net/netfilter/xt_realm.c +++ b/net/netfilter/xt_realm.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* IP tables module for matching the routing realm | 2 | /* IP tables module for matching the routing realm |
| 2 | * | 3 | * |
| 3 | * (C) 2003 by Sampsa Ranta <sampsa@netsonic.fi> | 4 | * (C) 2003 by Sampsa Ranta <sampsa@netsonic.fi> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c index 1664d2ec8b2f..781e0b482189 100644 --- a/net/netfilter/xt_recent.c +++ b/net/netfilter/xt_recent.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> |
| 3 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 | 4 | * Copyright © CC Computer Consultants GmbH, 2007 - 2008 |
| 4 | * | 5 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * This is a replacement of the old ipt_recent module, which carried the | 6 | * This is a replacement of the old ipt_recent module, which carried the |
| 10 | * following copyright notice: | 7 | * following copyright notice: |
| 11 | * | 8 | * |
diff --git a/net/netfilter/xt_set.c b/net/netfilter/xt_set.c index bf2890b13212..f099228cb9c4 100644 --- a/net/netfilter/xt_set.c +++ b/net/netfilter/xt_set.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> | 2 | /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu> |
| 2 | * Patrick Schaaf <bof@bof.de> | 3 | * Patrick Schaaf <bof@bof.de> |
| 3 | * Martin Josefsson <gandalf@wlug.westbo.se> | 4 | * Martin Josefsson <gandalf@wlug.westbo.se> |
| 4 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 5 | * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | /* Kernel module which implements the set match and SET target | 8 | /* Kernel module which implements the set match and SET target |
diff --git a/net/netfilter/xt_socket.c b/net/netfilter/xt_socket.c index ada144e5645b..5f973987265d 100644 --- a/net/netfilter/xt_socket.c +++ b/net/netfilter/xt_socket.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Transparent proxy support for Linux/iptables | 3 | * Transparent proxy support for Linux/iptables |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2007-2008 BalaBit IT Ltd. | 5 | * Copyright (C) 2007-2008 BalaBit IT Ltd. |
| 5 | * Author: Krisztian Kovacs | 6 | * Author: Krisztian Kovacs |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_state.c b/net/netfilter/xt_state.c index 0b41c0befe3c..bbe07b1be9a3 100644 --- a/net/netfilter/xt_state.c +++ b/net/netfilter/xt_state.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match connection tracking information. */ | 2 | /* Kernel module to match connection tracking information. */ |
| 2 | 3 | ||
| 3 | /* (C) 1999-2001 Paul `Rusty' Russell | 4 | /* (C) 1999-2001 Paul `Rusty' Russell |
| 4 | * (C) 2002-2005 Netfilter Core Team <coreteam@netfilter.org> | 5 | * (C) 2002-2005 Netfilter Core Team <coreteam@netfilter.org> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/netfilter/xt_statistic.c b/net/netfilter/xt_statistic.c index 8710fdba2ae2..203e24ae472c 100644 --- a/net/netfilter/xt_statistic.c +++ b/net/netfilter/xt_statistic.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> | 3 | * Copyright (c) 2006 Patrick McHardy <kaber@trash.net> |
| 3 | * | 4 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * Based on ipt_random and ipt_nth by Fabrice MARIE <fabrice@netfilter.org>. | 5 | * Based on ipt_random and ipt_nth by Fabrice MARIE <fabrice@netfilter.org>. |
| 9 | */ | 6 | */ |
| 10 | 7 | ||
diff --git a/net/netfilter/xt_string.c b/net/netfilter/xt_string.c index be1feddadcf0..8ce25bc9b277 100644 --- a/net/netfilter/xt_string.c +++ b/net/netfilter/xt_string.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* String matching match for iptables | 2 | /* String matching match for iptables |
| 2 | * | 3 | * |
| 3 | * (C) 2005 Pablo Neira Ayuso <pablo@eurodev.net> | 4 | * (C) 2005 Pablo Neira Ayuso <pablo@eurodev.net> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/gfp.h> | 7 | #include <linux/gfp.h> |
diff --git a/net/netfilter/xt_tcpmss.c b/net/netfilter/xt_tcpmss.c index c53d4d18eadf..37704ab01799 100644 --- a/net/netfilter/xt_tcpmss.c +++ b/net/netfilter/xt_tcpmss.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Kernel module to match TCP MSS values. */ | 2 | /* Kernel module to match TCP MSS values. */ |
| 2 | 3 | ||
| 3 | /* Copyright (C) 2000 Marc Boucher <marc@mbsi.ca> | 4 | /* Copyright (C) 2000 Marc Boucher <marc@mbsi.ca> |
| 4 | * Portions (C) 2005 by Harald Welte <laforge@netfilter.org> | 5 | * Portions (C) 2005 by Harald Welte <laforge@netfilter.org> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/nfc/nci/core.c b/net/nfc/nci/core.c index 074960154993..7cd524884304 100644 --- a/net/nfc/nci/core.c +++ b/net/nfc/nci/core.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -10,19 +11,6 @@ | |||
| 10 | * Acknowledgements: | 11 | * Acknowledgements: |
| 11 | * This file is based on hci_core.c, which was written | 12 | * This file is based on hci_core.c, which was written |
| 12 | * by Maxim Krasnyansky. | 13 | * by Maxim Krasnyansky. |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License version 2 | ||
| 16 | * as published by the Free Software Foundation | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public License | ||
| 24 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 25 | * | ||
| 26 | */ | 14 | */ |
| 27 | 15 | ||
| 28 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ | 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ |
diff --git a/net/nfc/nci/data.c b/net/nfc/nci/data.c index 908f25e3773e..0a0c265baaa4 100644 --- a/net/nfc/nci/data.c +++ b/net/nfc/nci/data.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -6,19 +7,6 @@ | |||
| 6 | * Copyright (C) 2014 Marvell International Ltd. | 7 | * Copyright (C) 2014 Marvell International Ltd. |
| 7 | * | 8 | * |
| 8 | * Written by Ilan Elias <ilane@ti.com> | 9 | * Written by Ilan Elias <ilane@ti.com> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 | ||
| 12 | * as published by the Free Software Foundation | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, | ||
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | * GNU General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 21 | * | ||
| 22 | */ | 10 | */ |
| 23 | 11 | ||
| 24 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ | 12 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ |
diff --git a/net/nfc/nci/hci.c b/net/nfc/nci/hci.c index c0d323b58e73..c18e76d6d8ba 100644 --- a/net/nfc/nci/hci.c +++ b/net/nfc/nci/hci.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -5,19 +6,6 @@ | |||
| 5 | * section of the NCI 1.1 specification. | 6 | * section of the NCI 1.1 specification. |
| 6 | * | 7 | * |
| 7 | * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved. | 8 | * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved. |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 | ||
| 11 | * as published by the Free Software Foundation | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 20 | * | ||
| 21 | */ | 9 | */ |
| 22 | 10 | ||
| 23 | #include <linux/skbuff.h> | 11 | #include <linux/skbuff.h> |
diff --git a/net/nfc/nci/lib.c b/net/nfc/nci/lib.c index ed774a2e989a..473323f8067b 100644 --- a/net/nfc/nci/lib.c +++ b/net/nfc/nci/lib.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -9,19 +10,6 @@ | |||
| 9 | * Acknowledgements: | 10 | * Acknowledgements: |
| 10 | * This file is based on lib.c, which was written | 11 | * This file is based on lib.c, which was written |
| 11 | * by Maxim Krasnyansky. | 12 | * by Maxim Krasnyansky. |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 | ||
| 15 | * as published by the Free Software Foundation | ||
| 16 | * | ||
| 17 | * This program is distributed in the hope that it will be useful, | ||
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | * GNU General Public License for more details. | ||
| 21 | * | ||
| 22 | * You should have received a copy of the GNU General Public License | ||
| 23 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 24 | * | ||
| 25 | */ | 13 | */ |
| 26 | 14 | ||
| 27 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/net/nfc/nci/ntf.c b/net/nfc/nci/ntf.c index 1e8c1a12aaec..33e1170817f0 100644 --- a/net/nfc/nci/ntf.c +++ b/net/nfc/nci/ntf.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -10,19 +11,6 @@ | |||
| 10 | * Acknowledgements: | 11 | * Acknowledgements: |
| 11 | * This file is based on hci_event.c, which was written | 12 | * This file is based on hci_event.c, which was written |
| 12 | * by Maxim Krasnyansky. | 13 | * by Maxim Krasnyansky. |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License version 2 | ||
| 16 | * as published by the Free Software Foundation | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public License | ||
| 24 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 25 | * | ||
| 26 | */ | 14 | */ |
| 27 | 15 | ||
| 28 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ | 16 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ |
diff --git a/net/nfc/nci/rsp.c b/net/nfc/nci/rsp.c index e3bbf1937d0e..a48297b79f34 100644 --- a/net/nfc/nci/rsp.c +++ b/net/nfc/nci/rsp.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * The NFC Controller Interface is the communication protocol between an | 3 | * The NFC Controller Interface is the communication protocol between an |
| 3 | * NFC Controller (NFCC) and a Device Host (DH). | 4 | * NFC Controller (NFCC) and a Device Host (DH). |
| @@ -9,19 +10,6 @@ | |||
| 9 | * Acknowledgements: | 10 | * Acknowledgements: |
| 10 | * This file is based on hci_event.c, which was written | 11 | * This file is based on hci_event.c, which was written |
| 11 | * by Maxim Krasnyansky. | 12 | * by Maxim Krasnyansky. |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License version 2 | ||
| 15 | * as published by the Free Software Foundation | ||
| 16 | * | ||
| 17 | * This program is distributed in the hope that it will be useful, | ||
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 20 | * GNU General Public License for more details. | ||
| 21 | * | ||
| 22 | * You should have received a copy of the GNU General Public License | ||
| 23 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 24 | * | ||
| 25 | */ | 13 | */ |
| 26 | 14 | ||
| 27 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ | 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": %s: " fmt, __func__ |
diff --git a/net/nsh/nsh.c b/net/nsh/nsh.c index 1a30e165eeb4..e9ca007718b7 100644 --- a/net/nsh/nsh.c +++ b/net/nsh/nsh.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Network Service Header | 3 | * Network Service Header |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2017 Red Hat, Inc. -- Jiri Benc <jbenc@redhat.com> | 5 | * Copyright (c) 2017 Red Hat, Inc. -- Jiri Benc <jbenc@redhat.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/psample/psample.c b/net/psample/psample.c index a107b2405668..841f198ea1a8 100644 --- a/net/psample/psample.c +++ b/net/psample/psample.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/psample/psample.c - Netlink channel for packet sampling | 3 | * net/psample/psample.c - Netlink channel for packet sampling |
| 3 | * Copyright (c) 2017 Yotam Gigi <yotamg@mellanox.com> | 4 | * Copyright (c) 2017 Yotam Gigi <yotamg@mellanox.com> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/net/rfkill/input.c b/net/rfkill/input.c index b85107b5ef62..4b01baea1d4a 100644 --- a/net/rfkill/input.c +++ b/net/rfkill/input.c | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Input layer to RF Kill interface connector | 3 | * Input layer to RF Kill interface connector |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2007 Dmitry Torokhov | 5 | * Copyright (c) 2007 Dmitry Torokhov |
| 5 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> | 6 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published | ||
| 9 | * by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * If you ever run into a situation in which you have a SW_ type rfkill | 8 | * If you ever run into a situation in which you have a SW_ type rfkill |
| 12 | * input device, then you can revive code that was removed in the patch | 9 | * input device, then you can revive code that was removed in the patch |
| 13 | * "rfkill-input: remove unused code". | 10 | * "rfkill-input: remove unused code". |
diff --git a/net/rfkill/rfkill.h b/net/rfkill/rfkill.h index d1117cb6e4de..001c40caa51e 100644 --- a/net/rfkill/rfkill.h +++ b/net/rfkill/rfkill.h | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (C) 2007 Ivo van Doorn | 3 | * Copyright (C) 2007 Ivo van Doorn |
| 3 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> | 4 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> |
| 4 | */ | 5 | */ |
| 5 | 6 | ||
| 6 | /* | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published | ||
| 9 | * by the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | 7 | ||
| 12 | #ifndef __RFKILL_INPUT_H | 8 | #ifndef __RFKILL_INPUT_H |
| 13 | #define __RFKILL_INPUT_H | 9 | #define __RFKILL_INPUT_H |
diff --git a/net/sched/act_sample.c b/net/sched/act_sample.c index b2faa43c1ac7..274d7a0c0e25 100644 --- a/net/sched/act_sample.c +++ b/net/sched/act_sample.c | |||
| @@ -1,10 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/act_sample.c - Packet sampling tc action | 3 | * net/sched/act_sample.c - Packet sampling tc action |
| 3 | * Copyright (c) 2017 Yotam Gigi <yotamg@mellanox.com> | 4 | * Copyright (c) 2017 Yotam Gigi <yotamg@mellanox.com> |
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | 5 | */ |
| 9 | 6 | ||
| 10 | #include <linux/types.h> | 7 | #include <linux/types.h> |
diff --git a/net/sched/cls_bpf.c b/net/sched/cls_bpf.c index 27365ed3fe0b..691f71830134 100644 --- a/net/sched/cls_bpf.c +++ b/net/sched/cls_bpf.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Berkeley Packet Filter based traffic classifier | 3 | * Berkeley Packet Filter based traffic classifier |
| 3 | * | 4 | * |
| @@ -6,10 +7,6 @@ | |||
| 6 | * ematches. | 7 | * ematches. |
| 7 | * | 8 | * |
| 8 | * (C) 2013 Daniel Borkmann <dborkman@redhat.com> | 9 | * (C) 2013 Daniel Borkmann <dborkman@redhat.com> |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 10 | */ |
| 14 | 11 | ||
| 15 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/net/sched/em_ipset.c b/net/sched/em_ipset.c index c1b23e3060b8..df00566d327d 100644 --- a/net/sched/em_ipset.c +++ b/net/sched/em_ipset.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/em_ipset.c ipset ematch | 3 | * net/sched/em_ipset.c ipset ematch |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2012 Florian Westphal <fw@strlen.de> | 5 | * Copyright (c) 2012 Florian Westphal <fw@strlen.de> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/gfp.h> | 8 | #include <linux/gfp.h> |
diff --git a/net/sched/sch_choke.c b/net/sched/sch_choke.c index 370dbcf49e8b..dba70377bbd9 100644 --- a/net/sched/sch_choke.c +++ b/net/sched/sch_choke.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_choke.c CHOKE scheduler | 3 | * net/sched/sch_choke.c CHOKE scheduler |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2011 Stephen Hemminger <shemminger@vyatta.com> | 5 | * Copyright (c) 2011 Stephen Hemminger <shemminger@vyatta.com> |
| 5 | * Copyright (c) 2011 Eric Dumazet <eric.dumazet@gmail.com> | 6 | * Copyright (c) 2011 Eric Dumazet <eric.dumazet@gmail.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * version 2 as published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/sched/sch_drr.c b/net/sched/sch_drr.c index ffcd6654c39d..07a2b0b35495 100644 --- a/net/sched/sch_drr.c +++ b/net/sched/sch_drr.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_drr.c Deficit Round Robin scheduler | 3 | * net/sched/sch_drr.c Deficit Round Robin scheduler |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2008 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/module.h> | 8 | #include <linux/module.h> |
diff --git a/net/sched/sch_mq.c b/net/sched/sch_mq.c index 3a3312467692..0d578333e967 100644 --- a/net/sched/sch_mq.c +++ b/net/sched/sch_mq.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_mq.c Classful multiqueue dummy scheduler | 3 | * net/sched/sch_mq.c Classful multiqueue dummy scheduler |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2009 Patrick McHardy <kaber@trash.net> | 5 | * Copyright (c) 2009 Patrick McHardy <kaber@trash.net> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/types.h> | 8 | #include <linux/types.h> |
diff --git a/net/sched/sch_mqprio.c b/net/sched/sch_mqprio.c index d05086dc3866..46980b8d66c5 100644 --- a/net/sched/sch_mqprio.c +++ b/net/sched/sch_mqprio.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_mqprio.c | 3 | * net/sched/sch_mqprio.c |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2010 John Fastabend <john.r.fastabend@intel.com> | 5 | * Copyright (c) 2010 John Fastabend <john.r.fastabend@intel.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or | ||
| 7 | * modify it under the terms of the GNU General Public License | ||
| 8 | * version 2 as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/types.h> | 8 | #include <linux/types.h> |
diff --git a/net/sched/sch_pie.c b/net/sched/sch_pie.c index 8fa129d3943e..df98a887eb89 100644 --- a/net/sched/sch_pie.c +++ b/net/sched/sch_pie.c | |||
| @@ -1,15 +1,6 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* Copyright (C) 2013 Cisco Systems, Inc, 2013. | 2 | /* Copyright (C) 2013 Cisco Systems, Inc, 2013. |
| 2 | * | 3 | * |
| 3 | * This program is free software; you can redistribute it and/or | ||
| 4 | * modify it under the terms of the GNU General Public License | ||
| 5 | * as published by the Free Software Foundation; either version 2 | ||
| 6 | * of the License. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * Author: Vijay Subramanian <vijaynsu@cisco.com> | 4 | * Author: Vijay Subramanian <vijaynsu@cisco.com> |
| 14 | * Author: Mythili Prabhu <mysuryan@cisco.com> | 5 | * Author: Mythili Prabhu <mysuryan@cisco.com> |
| 15 | * | 6 | * |
diff --git a/net/sched/sch_qfq.c b/net/sched/sch_qfq.c index 3f9e8b425ac6..0b05ac7c848e 100644 --- a/net/sched/sch_qfq.c +++ b/net/sched/sch_qfq.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_qfq.c Quick Fair Queueing Plus Scheduler. | 3 | * net/sched/sch_qfq.c Quick Fair Queueing Plus Scheduler. |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2009 Fabio Checconi, Luigi Rizzo, and Paolo Valente. | 5 | * Copyright (c) 2009 Fabio Checconi, Luigi Rizzo, and Paolo Valente. |
| 5 | * Copyright (c) 2012 Paolo Valente. | 6 | * Copyright (c) 2012 Paolo Valente. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * version 2 as published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/net/sched/sch_sfb.c b/net/sched/sch_sfb.c index b245d6a2068d..1dff8506a715 100644 --- a/net/sched/sch_sfb.c +++ b/net/sched/sch_sfb.c | |||
| @@ -1,19 +1,15 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * net/sched/sch_sfb.c Stochastic Fair Blue | 3 | * net/sched/sch_sfb.c Stochastic Fair Blue |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2008-2011 Juliusz Chroboczek <jch@pps.jussieu.fr> | 5 | * Copyright (c) 2008-2011 Juliusz Chroboczek <jch@pps.jussieu.fr> |
| 5 | * Copyright (c) 2011 Eric Dumazet <eric.dumazet@gmail.com> | 6 | * Copyright (c) 2011 Eric Dumazet <eric.dumazet@gmail.com> |
| 6 | * | 7 | * |
| 7 | * This program is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU General Public License | ||
| 9 | * version 2 as published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * W. Feng, D. Kandlur, D. Saha, K. Shin. Blue: | 8 | * W. Feng, D. Kandlur, D. Saha, K. Shin. Blue: |
| 12 | * A New Class of Active Queue Management Algorithms. | 9 | * A New Class of Active Queue Management Algorithms. |
| 13 | * U. Michigan CSE-TR-387-99, April 1999. | 10 | * U. Michigan CSE-TR-387-99, April 1999. |
| 14 | * | 11 | * |
| 15 | * http://www.thefengs.com/wuchang/blue/CSE-TR-387-99.pdf | 12 | * http://www.thefengs.com/wuchang/blue/CSE-TR-387-99.pdf |
| 16 | * | ||
| 17 | */ | 13 | */ |
| 18 | 14 | ||
| 19 | #include <linux/module.h> | 15 | #include <linux/module.h> |
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c index e137698e8aef..f64f36a83063 100644 --- a/net/strparser/strparser.c +++ b/net/strparser/strparser.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Stream Parser | 3 | * Stream Parser |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> | 5 | * Copyright (c) 2016 Tom Herbert <tom@herbertland.com> |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 | ||
| 8 | * as published by the Free Software Foundation. | ||
| 9 | */ | 6 | */ |
| 10 | 7 | ||
| 11 | #include <linux/bpf.h> | 8 | #include <linux/bpf.h> |
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 627a87a71f8b..b03bfa055c08 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
| @@ -634,7 +634,6 @@ static struct rpc_clnt *__rpc_clone_client(struct rpc_create_args *args, | |||
| 634 | new->cl_discrtry = clnt->cl_discrtry; | 634 | new->cl_discrtry = clnt->cl_discrtry; |
| 635 | new->cl_chatty = clnt->cl_chatty; | 635 | new->cl_chatty = clnt->cl_chatty; |
| 636 | new->cl_principal = clnt->cl_principal; | 636 | new->cl_principal = clnt->cl_principal; |
| 637 | new->cl_cred = get_cred(clnt->cl_cred); | ||
| 638 | return new; | 637 | return new; |
| 639 | 638 | ||
| 640 | out_err: | 639 | out_err: |
| @@ -2805,6 +2804,7 @@ int rpc_clnt_add_xprt(struct rpc_clnt *clnt, | |||
| 2805 | xprt = xprt_iter_xprt(&clnt->cl_xpi); | 2804 | xprt = xprt_iter_xprt(&clnt->cl_xpi); |
| 2806 | if (xps == NULL || xprt == NULL) { | 2805 | if (xps == NULL || xprt == NULL) { |
| 2807 | rcu_read_unlock(); | 2806 | rcu_read_unlock(); |
| 2807 | xprt_switch_put(xps); | ||
| 2808 | return -EAGAIN; | 2808 | return -EAGAIN; |
| 2809 | } | 2809 | } |
| 2810 | resvport = xprt->resvport; | 2810 | resvport = xprt->resvport; |
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index bb04ae52803a..a2c114812717 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
| @@ -250,9 +250,7 @@ static void __rpc_init_priority_wait_queue(struct rpc_wait_queue *queue, const c | |||
| 250 | queue->maxpriority = nr_queues - 1; | 250 | queue->maxpriority = nr_queues - 1; |
| 251 | rpc_reset_waitqueue_priority(queue); | 251 | rpc_reset_waitqueue_priority(queue); |
| 252 | queue->qlen = 0; | 252 | queue->qlen = 0; |
| 253 | timer_setup(&queue->timer_list.timer, | 253 | timer_setup(&queue->timer_list.timer, __rpc_queue_timer_fn, 0); |
| 254 | __rpc_queue_timer_fn, | ||
| 255 | TIMER_DEFERRABLE); | ||
| 256 | INIT_LIST_HEAD(&queue->timer_list.list); | 254 | INIT_LIST_HEAD(&queue->timer_list.list); |
| 257 | rpc_assign_waitqueue_name(queue, qname); | 255 | rpc_assign_waitqueue_name(queue, qname); |
| 258 | } | 256 | } |
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index ad21880d5601..f6c82b1651e7 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
| @@ -1876,9 +1876,7 @@ found: | |||
| 1876 | xprt->idle_timeout = 0; | 1876 | xprt->idle_timeout = 0; |
| 1877 | INIT_WORK(&xprt->task_cleanup, xprt_autoclose); | 1877 | INIT_WORK(&xprt->task_cleanup, xprt_autoclose); |
| 1878 | if (xprt_has_timer(xprt)) | 1878 | if (xprt_has_timer(xprt)) |
| 1879 | timer_setup(&xprt->timer, | 1879 | timer_setup(&xprt->timer, xprt_init_autodisconnect, 0); |
| 1880 | xprt_init_autodisconnect, | ||
| 1881 | TIMER_DEFERRABLE); | ||
| 1882 | else | 1880 | else |
| 1883 | timer_setup(&xprt->timer, NULL, 0); | 1881 | timer_setup(&xprt->timer, NULL, 0); |
| 1884 | 1882 | ||
diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c index 96ab344f17bb..9c287e3e393c 100644 --- a/net/vmw_vsock/virtio_transport.c +++ b/net/vmw_vsock/virtio_transport.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * virtio transport for vsock | 3 | * virtio transport for vsock |
| 3 | * | 4 | * |
| @@ -7,8 +8,6 @@ | |||
| 7 | * | 8 | * |
| 8 | * Some of the code is take from Gerd Hoffmann <kraxel@redhat.com>'s | 9 | * Some of the code is take from Gerd Hoffmann <kraxel@redhat.com>'s |
| 9 | * early virtio-vsock proof-of-concept bits. | 10 | * early virtio-vsock proof-of-concept bits. |
| 10 | * | ||
| 11 | * This work is licensed under the terms of the GNU GPL, version 2. | ||
| 12 | */ | 11 | */ |
| 13 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
| 14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c index e30f53728725..6f1a8aff65c5 100644 --- a/net/vmw_vsock/virtio_transport_common.c +++ b/net/vmw_vsock/virtio_transport_common.c | |||
| @@ -1,11 +1,10 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * common code for virtio vsock | 3 | * common code for virtio vsock |
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2013-2015 Red Hat, Inc. | 5 | * Copyright (C) 2013-2015 Red Hat, Inc. |
| 5 | * Author: Asias He <asias@redhat.com> | 6 | * Author: Asias He <asias@redhat.com> |
| 6 | * Stefan Hajnoczi <stefanha@redhat.com> | 7 | * Stefan Hajnoczi <stefanha@redhat.com> |
| 7 | * | ||
| 8 | * This work is licensed under the terms of the GNU GPL, version 2. | ||
| 9 | */ | 8 | */ |
| 10 | #include <linux/spinlock.h> | 9 | #include <linux/spinlock.h> |
| 11 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/net/wireless/debugfs.c b/net/wireless/debugfs.c index 30fc6eb352bc..76b845f68ac8 100644 --- a/net/wireless/debugfs.c +++ b/net/wireless/debugfs.c | |||
| @@ -1,12 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * cfg80211 debugfs | 3 | * cfg80211 debugfs |
| 3 | * | 4 | * |
| 4 | * Copyright 2009 Luis R. Rodriguez <lrodriguez@atheros.com> | 5 | * Copyright 2009 Luis R. Rodriguez <lrodriguez@atheros.com> |
| 5 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> | 6 | * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | 7 | */ |
| 11 | 8 | ||
| 12 | #include <linux/slab.h> | 9 | #include <linux/slab.h> |
diff --git a/net/wireless/lib80211_crypt_ccmp.c b/net/wireless/lib80211_crypt_ccmp.c index 55214fe925b2..7e8ff9d7dcfa 100644 --- a/net/wireless/lib80211_crypt_ccmp.c +++ b/net/wireless/lib80211_crypt_ccmp.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * lib80211 crypt: host-based CCMP encryption implementation for lib80211 | 3 | * lib80211 crypt: host-based CCMP encryption implementation for lib80211 |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi> | 5 | * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi> |
| 5 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> | 6 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. See README and COPYING for | ||
| 10 | * more details. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/net/wireless/lib80211_crypt_tkip.c b/net/wireless/lib80211_crypt_tkip.c index 11eaa5956f00..62edf5b01953 100644 --- a/net/wireless/lib80211_crypt_tkip.c +++ b/net/wireless/lib80211_crypt_tkip.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * lib80211 crypt: host-based TKIP encryption implementation for lib80211 | 3 | * lib80211 crypt: host-based TKIP encryption implementation for lib80211 |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi> | 5 | * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi> |
| 5 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> | 6 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. See README and COPYING for | ||
| 10 | * more details. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/net/wireless/lib80211_crypt_wep.c b/net/wireless/lib80211_crypt_wep.c index 20c1ad63ad44..e127b6f7fc9f 100644 --- a/net/wireless/lib80211_crypt_wep.c +++ b/net/wireless/lib80211_crypt_wep.c | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * lib80211 crypt: host-based WEP encryption implementation for lib80211 | 3 | * lib80211 crypt: host-based WEP encryption implementation for lib80211 |
| 3 | * | 4 | * |
| 4 | * Copyright (c) 2002-2004, Jouni Malinen <j@w1.fi> | 5 | * Copyright (c) 2002-2004, Jouni Malinen <j@w1.fi> |
| 5 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> | 6 | * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com> |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. See README and COPYING for | ||
| 10 | * more details. | ||
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | #include <linux/err.h> | 9 | #include <linux/err.h> |
diff --git a/net/wireless/ocb.c b/net/wireless/ocb.c index e64dbf16330c..2d26a6d980bf 100644 --- a/net/wireless/ocb.c +++ b/net/wireless/ocb.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * OCB mode implementation | 3 | * OCB mode implementation |
| 3 | * | 4 | * |
| @@ -5,10 +6,6 @@ | |||
| 5 | * (c) 2014 Volkswagen Group Research | 6 | * (c) 2014 Volkswagen Group Research |
| 6 | * Author: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> | 7 | * Author: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> |
| 7 | * Funded by: Volkswagen Group Research | 8 | * Funded by: Volkswagen Group Research |
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | 9 | */ |
| 13 | 10 | ||
| 14 | #include <linux/ieee80211.h> | 11 | #include <linux/ieee80211.h> |
