lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230111031712.19037-6-stephen@networkplumber.org>
Date:   Tue, 10 Jan 2023 19:17:07 -0800
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     netdev@...r.kernel.org
Cc:     Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2 05/10] ip: use SPDX

Use SPDX instead of boilerplate text for ip and related
sub commands.

Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
---
 ip/ip.c                  |  6 +-----
 ip/ip6tunnel.c           | 15 +--------------
 ip/ipaddress.c           |  7 +------
 ip/ipaddrlabel.c         | 16 +---------------
 ip/ipfou.c               |  6 +-----
 ip/ipila.c               |  6 +-----
 ip/ipl2tp.c              |  7 +------
 ip/iplink.c              |  7 +------
 ip/iplink_amt.c          |  6 +-----
 ip/iplink_bond.c         |  6 +-----
 ip/iplink_bond_slave.c   |  6 +-----
 ip/iplink_bridge.c       |  6 +-----
 ip/iplink_bridge_slave.c |  6 +-----
 ip/iplink_can.c          |  6 +-----
 ip/iplink_geneve.c       |  6 +-----
 ip/iplink_hsr.c          |  6 +-----
 ip/iplink_ipoib.c        |  6 +-----
 ip/iplink_ipvlan.c       |  6 +-----
 ip/iplink_macvlan.c      |  6 +-----
 ip/iplink_netdevsim.c    |  1 +
 ip/iplink_vlan.c         |  6 +-----
 ip/iplink_vrf.c          |  6 +-----
 ip/iplink_vxcan.c        |  6 +-----
 ip/iplink_vxlan.c        |  6 +-----
 ip/iplink_xdp.c          |  6 +-----
 ip/iplink_xstats.c       |  6 +-----
 ip/ipmacsec.c            |  6 +-----
 ip/ipmaddr.c             |  7 +------
 ip/ipmonitor.c           |  7 +------
 ip/ipmroute.c            |  7 +------
 ip/ipneigh.c             |  7 +------
 ip/ipnetconf.c           |  7 +------
 ip/ipntable.c            | 18 ++----------------
 ip/ipprefix.c            | 17 ++---------------
 ip/iproute.c             |  7 +------
 ip/iproute_lwtunnel.c    |  7 +------
 ip/iprule.c              |  7 +------
 ip/ipseg6.c              |  5 +----
 ip/iptoken.c             |  6 +-----
 ip/iptunnel.c            |  7 +------
 ip/iptuntap.c            |  7 +------
 ip/ipvrf.c               |  7 +------
 ip/ipxfrm.c              | 20 ++------------------
 ip/link_gre.c            |  7 +------
 ip/link_gre6.c           |  7 +------
 ip/link_ip6tnl.c         |  7 +------
 ip/link_iptnl.c          |  7 +------
 ip/link_veth.c           |  7 +------
 ip/link_vti.c            |  6 +-----
 ip/link_vti6.c           |  6 +-----
 ip/rtm_map.c             |  7 +------
 ip/rtmon.c               |  7 +------
 ip/tcp_metrics.c         |  5 +----
 ip/tunnel.c              | 18 ++----------------
 ip/tunnel.h              | 15 +--------------
 ip/xfrm.h                | 17 +----------------
 ip/xfrm_monitor.c        | 20 ++------------------
 ip/xfrm_policy.c         | 20 ++------------------
 ip/xfrm_state.c          | 20 ++------------------
 59 files changed, 66 insertions(+), 432 deletions(-)

diff --git a/ip/ip.c b/ip/ip.c
index 863e42aad9eb..8424736f2904 100644
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ip.c		"ip" utility frontend.
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
  */
 
diff --git a/ip/ip6tunnel.c b/ip/ip6tunnel.c
index 5399f91d3923..347bd46a6d98 100644
--- a/ip/ip6tunnel.c
+++ b/ip/ip6tunnel.c
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * Author:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index 5e8334823044..c7553bcdbc5e 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipaddress.c		"ip address".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdarg.h>
diff --git a/ip/ipaddrlabel.c b/ip/ipaddrlabel.c
index beb08da3bfc2..46f68c41130c 100644
--- a/ip/ipaddrlabel.c
+++ b/ip/ipaddrlabel.c
@@ -1,26 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipaddrlabel.c	"ip addrlabel"
  *
  * Copyright (C)2007 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- *
- *
  * Based on iprule.c.
  *
  * Authors:	YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipfou.c b/ip/ipfou.c
index 9c6977705c99..ed99a548412e 100644
--- a/ip/ipfou.c
+++ b/ip/ipfou.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipfou.c	FOU (foo over UDP) support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:	Tom Herbert <therbert@...gle.com>
  */
 
diff --git a/ip/ipila.c b/ip/ipila.c
index 475c35b5c4b0..335d15f68bae 100644
--- a/ip/ipila.c
+++ b/ip/ipila.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipila.c	ILA (Identifier Locator Addressing) support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:	Tom Herbert <tom@...bertland.com>
  */
 
diff --git a/ip/ipl2tp.c b/ip/ipl2tp.c
index f1d574de31e3..87a4b898052d 100644
--- a/ip/ipl2tp.c
+++ b/ip/ipl2tp.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipl2tp.c	       "ip l2tp"
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Original Author:	James Chapman <jchapman@...alix.com>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/iplink.c b/ip/iplink.c
index e94dc6a51353..4ec9e370b107 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink.c		"ip link".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/iplink_amt.c b/ip/iplink_amt.c
index 48e079f8b781..3a35bd9df9d1 100644
--- a/ip/iplink_amt.c
+++ b/ip/iplink_amt.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_amt.c	AMT device support
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Taehee Yoo <ap420073@...il.com>
  */
 
diff --git a/ip/iplink_bond.c b/ip/iplink_bond.c
index 7943499e0adf..214244daad2f 100644
--- a/ip/iplink_bond.c
+++ b/ip/iplink_bond.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bond.c	Bonding device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@...nulli.us>
  *              Scott Feldman <sfeldma@...ulusnetworks.com>
  */
diff --git a/ip/iplink_bond_slave.c b/ip/iplink_bond_slave.c
index 8103704bc9aa..ad6875006950 100644
--- a/ip/iplink_bond_slave.c
+++ b/ip/iplink_bond_slave.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bond_slave.c	Bonding slave device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@...nulli.us>
  */
 
diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c
index 8b0c142294f6..7e4e62c81c0c 100644
--- a/ip/iplink_bridge.c
+++ b/ip/iplink_bridge.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bridge.c	Bridge device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@...nulli.us>
  */
 
diff --git a/ip/iplink_bridge_slave.c b/ip/iplink_bridge_slave.c
index ca4b264e64e7..43b429485502 100644
--- a/ip/iplink_bridge_slave.c
+++ b/ip/iplink_bridge_slave.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_bridge_slave.c	Bridge slave device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Jiri Pirko <jiri@...nulli.us>
  */
 
diff --git a/ip/iplink_can.c b/ip/iplink_can.c
index 9bbe3d95876b..f2967db5d2b6 100644
--- a/ip/iplink_can.c
+++ b/ip/iplink_can.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_can.c	CAN device support
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Wolfgang Grandegger <wg@...ndegger.com>
  */
 
diff --git a/ip/iplink_geneve.c b/ip/iplink_geneve.c
index 98099cc9eece..62c61bce138b 100644
--- a/ip/iplink_geneve.c
+++ b/ip/iplink_geneve.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_geneve.c	GENEVE device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     John W. Linville <linville@...driver.com>
  */
 
diff --git a/ip/iplink_hsr.c b/ip/iplink_hsr.c
index da2d03d4bcbc..76f24a6ac3ed 100644
--- a/ip/iplink_hsr.c
+++ b/ip/iplink_hsr.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_hsr.c	HSR device support
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Arvid Brodin <arvid.brodin@...en.se>
  *
  *		Based on iplink_vlan.c by Patrick McHardy <kaber@...sh.net>
diff --git a/ip/iplink_ipoib.c b/ip/iplink_ipoib.c
index b730c5335020..7bf4e3215dd2 100644
--- a/ip/iplink_ipoib.c
+++ b/ip/iplink_ipoib.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_ipoib.c	IPoIB device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Or Gerlitz <ogerlitz@...lanox.com>
  *		copied iflink_vlan.c authored by Patrick McHardy <kaber@...sh.net>
  */
diff --git a/ip/iplink_ipvlan.c b/ip/iplink_ipvlan.c
index baae767b82c1..f29fa4f9e3eb 100644
--- a/ip/iplink_ipvlan.c
+++ b/ip/iplink_ipvlan.c
@@ -1,9 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* iplink_ipvlan.c	IPVLAN/IPVTAP device support
- *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
  *
  * Authors:     Mahesh Bandewar <maheshb@...gle.com>
  */
diff --git a/ip/iplink_macvlan.c b/ip/iplink_macvlan.c
index 05e6bc77c8c3..0f13637d8fbc 100644
--- a/ip/iplink_macvlan.c
+++ b/ip/iplink_macvlan.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_macvlan.c	macvlan/macvtap device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Patrick McHardy <kaber@...sh.net>
  *		Arnd Bergmann <arnd@...db.de>
  */
diff --git a/ip/iplink_netdevsim.c b/ip/iplink_netdevsim.c
index 34486081f6d4..5aaa775abad7 100644
--- a/ip/iplink_netdevsim.c
+++ b/ip/iplink_netdevsim.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <stdio.h>
 #include <stdlib.h>
 
diff --git a/ip/iplink_vlan.c b/ip/iplink_vlan.c
index 1426f2afca23..4ac5bc03f2b3 100644
--- a/ip/iplink_vlan.c
+++ b/ip/iplink_vlan.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vlan.c	VLAN device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Patrick McHardy <kaber@...sh.net>
  */
 
diff --git a/ip/iplink_vrf.c b/ip/iplink_vrf.c
index 5d20f29d3526..9474a2b78c5f 100644
--- a/ip/iplink_vrf.c
+++ b/ip/iplink_vrf.c
@@ -1,9 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* iplink_vrf.c	VRF device support
- *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
  *
  * Authors:     Shrijeet Mukherjee <shm@...ulusnetworks.com>
  */
diff --git a/ip/iplink_vxcan.c b/ip/iplink_vxcan.c
index 8b08c9a70c65..e0f9bacbd3db 100644
--- a/ip/iplink_vxcan.c
+++ b/ip/iplink_vxcan.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vxcan.c	vxcan device support (Virtual CAN Tunnel)
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Author:	Oliver Hartkopp <socketcan@...tkopp.net>
  * Based on:	link_veth.c from Pavel Emelianov <xemul@...nvz.org>
  */
diff --git a/ip/iplink_vxlan.c b/ip/iplink_vxlan.c
index 01522d6ebd02..c7e0e1c47606 100644
--- a/ip/iplink_vxlan.c
+++ b/ip/iplink_vxlan.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_vxlan.c	VXLAN device support
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Stephen Hemminger <shemminger@...tta.com
  */
 
diff --git a/ip/iplink_xdp.c b/ip/iplink_xdp.c
index 4a490bc8fb66..5928dff75b8a 100644
--- a/ip/iplink_xdp.c
+++ b/ip/iplink_xdp.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_xdp.c XDP program loader
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Daniel Borkmann <daniel@...earbox.net>
  */
 
diff --git a/ip/iplink_xstats.c b/ip/iplink_xstats.c
index 1d180b0bdada..6c184c02cb31 100644
--- a/ip/iplink_xstats.c
+++ b/ip/iplink_xstats.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iplink_stats.c       Extended statistics commands
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
  */
 
diff --git a/ip/ipmacsec.c b/ip/ipmacsec.c
index 6dd7382785a3..f3b2e03bdaeb 100644
--- a/ip/ipmacsec.c
+++ b/ip/ipmacsec.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmacsec.c		"ip macsec".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Sabrina Dubroca <sd@...asysnail.net>
  */
 
diff --git a/ip/ipmaddr.c b/ip/ipmaddr.c
index d41ac63a74ec..f8d6b992d254 100644
--- a/ip/ipmaddr.c
+++ b/ip/ipmaddr.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmaddr.c		"ip maddress".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c
index d808369c2898..9b055264ca7b 100644
--- a/ip/ipmonitor.c
+++ b/ip/ipmonitor.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmonitor.c		"ip monitor".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipmroute.c b/ip/ipmroute.c
index 32019c944c52..b6d9e618f284 100644
--- a/ip/ipmroute.c
+++ b/ip/ipmroute.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipmroute.c		"ip mroute".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipneigh.c b/ip/ipneigh.c
index 0cf7bb60553a..ee14ffcccc46 100644
--- a/ip/ipneigh.c
+++ b/ip/ipneigh.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipneigh.c		"ip neigh".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipnetconf.c b/ip/ipnetconf.c
index bb0ebe12da93..7ddaefb407ed 100644
--- a/ip/ipnetconf.c
+++ b/ip/ipnetconf.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipnetconf.c		"ip netconf".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Nicolas Dichtel, <nicolas.dichtel@...nd.com>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipntable.c b/ip/ipntable.c
index 762c790d10fc..4ce02a315fe1 100644
--- a/ip/ipntable.c
+++ b/ip/ipntable.c
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ipneigh.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/ipprefix.c b/ip/ipprefix.c
index 466af2088d90..ddf770146784 100644
--- a/ip/ipprefix.c
+++ b/ip/ipprefix.c
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2005 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ip.c, iproute.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/iproute.c b/ip/iproute.c
index f34289e836ec..0bab0fdfae13 100644
--- a/ip/iproute.c
+++ b/ip/iproute.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iproute.c		"ip route".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/iproute_lwtunnel.c b/ip/iproute_lwtunnel.c
index bf4468b6db16..52221c6976b3 100644
--- a/ip/iproute_lwtunnel.c
+++ b/ip/iproute_lwtunnel.c
@@ -1,14 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iproute_lwtunnel.c
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Roopa Prabhu, <roopa@...ulusnetworks.com>
  *		Thomas Graf <tgraf@...g.ch>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/iprule.c b/ip/iprule.c
index 8e5a2287ca6f..654ffffe3cc0 100644
--- a/ip/iprule.c
+++ b/ip/iprule.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iprule.c		"ip rule".
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipseg6.c b/ip/ipseg6.c
index 4f541ae4232c..305b89614af5 100644
--- a/ip/ipseg6.c
+++ b/ip/ipseg6.c
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * seg6.c "ip sr/seg6"
  *
- *	  This program is free software; you can redistribute it and/or
- *	  modify it under the terms of the GNU General Public License
- *	  version 2 as published by the Free Software Foundation;
- *
  * Author: David Lebrun <david.lebrun@...ouvain.be>
  */
 
diff --git a/ip/iptoken.c b/ip/iptoken.c
index 9f35689006cf..f25a7c8b21f5 100644
--- a/ip/iptoken.c
+++ b/ip/iptoken.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptoken.c    "ip token"
  *
- *              This program is free software; you can redistribute it and/or
- *              modify it under the terms of the GNU General Public License
- *              as published by the Free Software Foundation; either version
- *              2 of the License, or (at your option) any later version.
- *
  * Authors:     Daniel Borkmann, <borkmann@...hat.com>
  */
 
diff --git a/ip/iptunnel.c b/ip/iptunnel.c
index 7a0e723714cc..02c3670b469d 100644
--- a/ip/iptunnel.c
+++ b/ip/iptunnel.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptunnel.c	       "ip tunnel"
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/iptuntap.c b/ip/iptuntap.c
index 8e4e09bff838..ab7d5d87a02d 100644
--- a/ip/iptuntap.c
+++ b/ip/iptuntap.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * iptunnel.c	       "ip tuntap"
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	David Woodhouse <David.Woodhouse@...el.com>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/ipvrf.c b/ip/ipvrf.c
index 915780310cf1..0718bea8bba9 100644
--- a/ip/ipvrf.c
+++ b/ip/ipvrf.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ipvrf.c	"ip vrf"
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	David Ahern <dsa@...ulusnetworks.com>
- *
  */
 
 #include <sys/types.h>
diff --git a/ip/ipxfrm.c b/ip/ipxfrm.c
index 7a1ebc9539b3..b78c712dfd73 100644
--- a/ip/ipxfrm.c
+++ b/ip/ipxfrm.c
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ip.c, iproute.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/link_gre.c b/ip/link_gre.c
index f462a227a507..74a5b5e9652a 100644
--- a/ip/link_gre.c
+++ b/ip/link_gre.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_gre.c	gre driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Herbert Xu <herbert@...dor.apana.org.au>
- *
  */
 
 #include <string.h>
diff --git a/ip/link_gre6.c b/ip/link_gre6.c
index 232d9bde24d9..b03bd65adb53 100644
--- a/ip/link_gre6.c
+++ b/ip/link_gre6.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_gre6.c	gre driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Dmitry Kozlov <xeb@...l.ru>
- *
  */
 
 #include <string.h>
diff --git a/ip/link_ip6tnl.c b/ip/link_ip6tnl.c
index 2fcc13ef64d3..b27d696f565a 100644
--- a/ip/link_ip6tnl.c
+++ b/ip/link_ip6tnl.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_ip6tnl.c	ip6tnl driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Nicolas Dichtel <nicolas.dichtel@...nd.com>
- *
  */
 
 #include <string.h>
diff --git a/ip/link_iptnl.c b/ip/link_iptnl.c
index b25855ba2004..1315aebe93f2 100644
--- a/ip/link_iptnl.c
+++ b/ip/link_iptnl.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_iptnl.c	ipip and sit driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Nicolas Dichtel <nicolas.dichtel@...nd.com>
- *
  */
 
 #include <string.h>
diff --git a/ip/link_veth.c b/ip/link_veth.c
index 33e8f2b102e7..6da5b64f73ce 100644
--- a/ip/link_veth.c
+++ b/ip/link_veth.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_veth.c	veth driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Pavel Emelianov <xemul@...nvz.org>
- *
  */
 
 #include <string.h>
diff --git a/ip/link_vti.c b/ip/link_vti.c
index 3a52ea870b56..509432543fc5 100644
--- a/ip/link_vti.c
+++ b/ip/link_vti.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_vti.c	VTI driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Herbert Xu <herbert@...dor.apana.org.au>
  *          Saurabh Mohan <saurabh.mohan@...tta.com> Modified link_gre.c for VTI
  */
diff --git a/ip/link_vti6.c b/ip/link_vti6.c
index 0b080fa9f4dd..5764221ebb89 100644
--- a/ip/link_vti6.c
+++ b/ip/link_vti6.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * link_vti6.c	VTI driver module
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Herbert Xu <herbert@...dor.apana.org.au>
  *		Saurabh Mohan <saurabh.mohan@...tta.com> Modified link_gre.c for VTI
  *		Steffen Klassert <steffen.klassert@...unet.com> Modified link_vti.c for IPv6
diff --git a/ip/rtm_map.c b/ip/rtm_map.c
index 8d8eafe0ae99..29463baedda0 100644
--- a/ip/rtm_map.c
+++ b/ip/rtm_map.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * rtm_map.c
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/rtmon.c b/ip/rtmon.c
index b021f773d071..aad9968f967b 100644
--- a/ip/rtmon.c
+++ b/ip/rtmon.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * rtmon.c		RTnetlink listener.
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Alexey Kuznetsov, <kuznet@....inr.ac.ru>
- *
  */
 
 #include <stdio.h>
diff --git a/ip/tcp_metrics.c b/ip/tcp_metrics.c
index acbd745ab09e..9c8fb07240bf 100644
--- a/ip/tcp_metrics.c
+++ b/ip/tcp_metrics.c
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * tcp_metrics.c	"ip tcp_metrics/tcpmetrics"
  *
- *		This program is free software; you can redistribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		version 2 as published by the Free Software Foundation;
- *
  * Authors:	Julian Anastasov <ja@....bg>, August 2012
  */
 
diff --git a/ip/tunnel.c b/ip/tunnel.c
index 224c81e42e9b..75cb0b51e4c0 100644
--- a/ip/tunnel.c
+++ b/ip/tunnel.c
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * split from ip_tunnel.c
- */
-/*
+ *
  * Author:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/tunnel.h b/ip/tunnel.h
index 604f8cbfd6db..0c9852e32364 100644
--- a/ip/tunnel.h
+++ b/ip/tunnel.h
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2006 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * Author:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/xfrm.h b/ip/xfrm.h
index 6f251603f108..33c42730375d 100644
--- a/ip/xfrm.h
+++ b/ip/xfrm.h
@@ -1,22 +1,7 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c
index b0056d9de432..1f67fe9d14ff 100644
--- a/ip/xfrm_monitor.c
+++ b/ip/xfrm_monitor.c
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2005 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on ipmonitor.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/xfrm_policy.c b/ip/xfrm_policy.c
index be5fcfed2027..be2235ca949d 100644
--- a/ip/xfrm_policy.c
+++ b/ip/xfrm_policy.c
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on iproute.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
diff --git a/ip/xfrm_state.c b/ip/xfrm_state.c
index 16c65e23a7e7..aa0dce072dff 100644
--- a/ip/xfrm_state.c
+++ b/ip/xfrm_state.c
@@ -1,25 +1,9 @@
-/* $USAGI: $ */
-
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C)2004 USAGI/WIDE Project
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses>.
- */
-/*
  * based on iproute.c
- */
-/*
+ *
  * Authors:
  *	Masahide NAKAMURA @USAGI
  */
-- 
2.39.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ