From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 254E6C46467 for ; Wed, 11 Jan 2023 03:17:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234969AbjAKDRw (ORCPT ); Tue, 10 Jan 2023 22:17:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232938AbjAKDRa (ORCPT ); Tue, 10 Jan 2023 22:17:30 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF4CB13D5D for ; Tue, 10 Jan 2023 19:17:25 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id v23so10463343plo.1 for ; Tue, 10 Jan 2023 19:17:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ds2dcBI9MweXL1qzT0kWkDc8e8kaKwZoG81X+6jDpQA=; b=dUlx6Ooz8quTwYte2GhhhA2LyULB819soE4hh0m5AGe48/tVNi508CpgtBlaCJr8Ne YmT9YfXg+E/OafFEwlDaE5wRTkAlBDQ8/fuwmJbnWhEanTVWaZ/p8jy21xmn/WLZrec7 CQbJz380N3h4AAR/SbdrXasHAHXHHwDwaeDVe4riSImBcCyikY1lTp6ke/PruNYzElDl fkJdp3FGUXTqeqRltonNEWfd1LoKvy9uP9KYlu3kkUTRFFKN5lWZXtbGnJVwVPJkBkNc TCWcU9EpuVPwNqpUm4yNMBu+A3R/KeYuH/iuYSLbpELo2X5EADfzN5mYl9skR5mQ30eF 8JTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ds2dcBI9MweXL1qzT0kWkDc8e8kaKwZoG81X+6jDpQA=; b=pHgbA+OIqBO/kpHSoT6cU0rLRDdk5T9Be+UoggcW8Svx2NU3ccLh35Mc6zWCfjnP3Q hhwkkZscboUNNpny6UZS5+IWRWlcVsn3F4Nx4eRPywuAY/bl4KpX9Qem+jTBU+kpQ4Ir 3x4kQxE/gNcQgRq5k098/bs+HyruvoPP2+TCRlIfHzPINvkCSkpUAMKZJ0nQa3ejWZAJ yS0wcyGj6bPCli9G9QYke3NyyiMSKRVHncRSx2F4x0MsQcca7HgzMU3RDHSgMu8Y3Ix+ IY+hhcNnPaF5zzbjLoGVYt5W9UknDtIZJB44DZowY0WLE0rkY3juNs9yU6Ah6Dzjp0CN Cjsg== X-Gm-Message-State: AFqh2kpRXmt1PUssGGp/omDmNCALA5KASRFocMQjMOUkgGA+p2ySGHcn ytBK3tz969o3BwfqiJ7A4k7/xrl8McFIYX7/174= X-Google-Smtp-Source: AMrXdXsLDVdfMa2CqfWirFQL28Ul5kzZKrU/jR4pcUV91VV4gkmUj3Xp9SgWAWnaFC1HFkw0E3WnzQ== X-Received: by 2002:a17:902:a406:b0:189:6ab3:9e75 with SMTP id p6-20020a170902a40600b001896ab39e75mr71972795plq.15.1673407043595; Tue, 10 Jan 2023 19:17:23 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h5-20020a170902f7c500b0019337bf957dsm4226756plw.296.2023.01.10.19.17.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 19:17:23 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH iproute2 09/10] tc: use SPDX Date: Tue, 10 Jan 2023 19:17:11 -0800 Message-Id: <20230111031712.19037-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111031712.19037-1-stephen@networkplumber.org> References: <20230111031712.19037-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Replace GPL boilerplate with SPDX. Signed-off-by: Stephen Hemminger --- tc/e_bpf.c | 6 +----- tc/em_canid.c | 6 +----- tc/em_cmp.c | 6 +----- tc/em_ipset.c | 5 +---- tc/em_ipt.c | 5 +---- tc/em_meta.c | 6 +----- tc/em_nbyte.c | 6 +----- tc/em_u32.c | 6 +----- tc/f_basic.c | 7 +------ tc/f_bpf.c | 6 +----- tc/f_cgroup.c | 7 +------ tc/f_flow.c | 6 +----- tc/f_flower.c | 6 +----- tc/f_fw.c | 7 +------ tc/f_matchall.c | 7 +------ tc/f_route.c | 7 +------ tc/f_rsvp.c | 7 +------ tc/f_u32.c | 6 +----- tc/m_action.c | 6 +----- tc/m_bpf.c | 6 +----- tc/m_connmark.c | 13 +------------ tc/m_csum.c | 6 +----- tc/m_ematch.c | 6 +----- tc/m_estimator.c | 7 +------ tc/m_gact.c | 7 +------ tc/m_ife.c | 7 +------ tc/m_ipt.c | 6 +----- tc/m_mirred.c | 7 +------ tc/m_nat.c | 7 +------ tc/m_pedit.c | 7 +------ tc/m_pedit.h | 5 +---- tc/m_police.c | 10 +--------- tc/m_sample.c | 7 +------ tc/m_simple.c | 6 +----- tc/m_skbedit.c | 14 +------------- tc/m_skbmod.c | 7 +------ tc/m_tunnel_key.c | 6 +----- tc/m_vlan.c | 6 +----- tc/m_xt.c | 6 +----- tc/m_xt_old.c | 6 +----- tc/p_eth.c | 6 +----- tc/p_icmp.c | 7 +------ tc/p_ip.c | 7 +------ tc/p_ip6.c | 7 +------ tc/p_tcp.c | 7 +------ tc/p_udp.c | 7 +------ tc/q_atm.c | 1 - tc/q_cbq.c | 7 +------ tc/q_cbs.c | 7 +------ tc/q_choke.c | 6 +----- tc/q_drr.c | 7 +------ tc/q_dsmark.c | 1 - tc/q_etf.c | 7 +------ tc/q_fifo.c | 7 +------ tc/q_gred.c | 6 +----- tc/q_hfsc.c | 7 +------ tc/q_ingress.c | 6 +----- tc/q_mqprio.c | 6 +----- tc/q_multiq.c | 13 +------------ tc/q_pie.c | 12 +----------- tc/q_prio.c | 7 +------ tc/q_qfq.c | 6 +----- tc/q_red.c | 7 +------ tc/q_rr.c | 6 +----- tc/q_sfb.c | 9 +-------- tc/q_sfq.c | 7 +------ tc/q_skbprio.c | 7 +------ tc/q_taprio.c | 6 +----- tc/q_tbf.c | 7 +------ tc/tc.c | 10 +--------- tc/tc_cbq.c | 7 +------ tc/tc_class.c | 7 +------ tc/tc_core.c | 7 +------ tc/tc_estimator.c | 7 +------ tc/tc_exec.c | 6 +----- tc/tc_filter.c | 7 +------ tc/tc_monitor.c | 7 +------ tc/tc_qdisc.c | 6 +----- tc/tc_red.c | 7 +------ tc/tc_stab.c | 7 +------ tc/tc_util.c | 7 +------ 81 files changed, 79 insertions(+), 472 deletions(-) diff --git a/tc/e_bpf.c b/tc/e_bpf.c index 517ee5b35734..79cddace96a4 100644 --- a/tc/e_bpf.c +++ b/tc/e_bpf.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * e_bpf.c BPF exec proxy * - * This program is free software; you can distribute 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 */ diff --git a/tc/em_canid.c b/tc/em_canid.c index 197c707f43bf..6d06b66a5944 100644 --- a/tc/em_canid.c +++ b/tc/em_canid.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * em_canid.c Ematch rule to match CAN frames according to their CAN identifiers * - * This program is free software; you can distribute 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. - * * Idea: Oliver Hartkopp * Copyright: (c) 2011 Czech Technical University in Prague * (c) 2011 Volkswagen Group Research diff --git a/tc/em_cmp.c b/tc/em_cmp.c index e051656f0bbb..dfd123df1e10 100644 --- a/tc/em_cmp.c +++ b/tc/em_cmp.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * em_cmp.c Simple comparison Ematch * - * This program is free software; you can distribute 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: Thomas Graf */ diff --git a/tc/em_ipset.c b/tc/em_ipset.c index 48b287f5ba3b..f97abaf3cfb7 100644 --- a/tc/em_ipset.c +++ b/tc/em_ipset.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * em_ipset.c IPset Ematch * @@ -8,10 +9,6 @@ * Patrick Schaaf * Martin Josefsson * Copyright (C) 2003-2010 Jozsef Kadlecsik - * - * 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. */ #include diff --git a/tc/em_ipt.c b/tc/em_ipt.c index b15c3ba56df4..69efefd8c5e3 100644 --- a/tc/em_ipt.c +++ b/tc/em_ipt.c @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * em_ipt.c IPtables extensions matching Ematch * * (C) 2018 Eyal Birger - * - * 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. */ #include diff --git a/tc/em_meta.c b/tc/em_meta.c index 2ddc65ed6cb6..6a5654f3a28b 100644 --- a/tc/em_meta.c +++ b/tc/em_meta.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * em_meta.c Metadata Ematch * - * This program is free software; you can distribute 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: Thomas Graf */ diff --git a/tc/em_nbyte.c b/tc/em_nbyte.c index 274d713ffac8..9f421fb423a6 100644 --- a/tc/em_nbyte.c +++ b/tc/em_nbyte.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * em_nbyte.c N-Byte Ematch * - * This program is free software; you can distribute 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: Thomas Graf */ diff --git a/tc/em_u32.c b/tc/em_u32.c index ea2bf882a12f..a83382ba4417 100644 --- a/tc/em_u32.c +++ b/tc/em_u32.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * em_u32.c U32 Ematch * - * This program is free software; you can distribute 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: Thomas Graf */ diff --git a/tc/f_basic.c b/tc/f_basic.c index 9055370e90b9..1ceb15d404f3 100644 --- a/tc/f_basic.c +++ b/tc/f_basic.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_basic.c Basic Classifier * - * This program is free software; you can distribute 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: Thomas Graf - * */ #include diff --git a/tc/f_bpf.c b/tc/f_bpf.c index 96e4576aa2f8..a6d4875fc057 100644 --- a/tc/f_bpf.c +++ b/tc/f_bpf.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_bpf.c BPF-based Classifier * - * This program is free software; you can distribute 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 */ diff --git a/tc/f_cgroup.c b/tc/f_cgroup.c index 633700e66aa8..a4fc03d1432e 100644 --- a/tc/f_cgroup.c +++ b/tc/f_cgroup.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_cgroup.c Control Group Classifier * - * This program is free software; you can distribute 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: Thomas Graf - * */ #include diff --git a/tc/f_flow.c b/tc/f_flow.c index 9dd50df2e492..2445aaef51b3 100644 --- a/tc/f_flow.c +++ b/tc/f_flow.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_flow.c Flow filter * - * 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 */ #include diff --git a/tc/f_flower.c b/tc/f_flower.c index 4c0a194836f5..48cfafdbc3c0 100644 --- a/tc/f_flower.c +++ b/tc/f_flower.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_flower.c Flower Classifier * - * This program is free software; you can distribute 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 */ diff --git a/tc/f_fw.c b/tc/f_fw.c index 3c6ea93d2944..38bec492b49a 100644 --- a/tc/f_fw.c +++ b/tc/f_fw.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_fw.c FW filter. * - * 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, - * */ #include diff --git a/tc/f_matchall.c b/tc/f_matchall.c index 231d749e1f43..38b68d7e2450 100644 --- a/tc/f_matchall.c +++ b/tc/f_matchall.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_matchall.c Match-all Classifier * - * This program is free software; you can distribute 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 , Yotam Gigi - * */ #include diff --git a/tc/f_route.c b/tc/f_route.c index ad516b382ac0..e92c798574d8 100644 --- a/tc/f_route.c +++ b/tc/f_route.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * f_route.c ROUTE filter. * - * 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, - * */ #include diff --git a/tc/f_rsvp.c b/tc/f_rsvp.c index 0211c3f5e74b..84187d6207ca 100644 --- a/tc/f_rsvp.c +++ b/tc/f_rsvp.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_rsvp.c RSVP filter. * - * 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, - * */ #include diff --git a/tc/f_u32.c b/tc/f_u32.c index e4e0ab121c57..bfe9e5f98de4 100644 --- a/tc/f_u32.c +++ b/tc/f_u32.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_u32.c U32 filter. * - * This program is free software; you can u32istribute 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, * Match mark added by Catalin(ux aka Dino) BOIE [5 nov 2004] * diff --git a/tc/m_action.c b/tc/m_action.c index b3fd019350b2..7b12b6fc51d8 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_action.c Action Management * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) * * TODO: diff --git a/tc/m_bpf.c b/tc/m_bpf.c index af5ba5ce45dc..4eadcb6daac4 100644 --- a/tc/m_bpf.c +++ b/tc/m_bpf.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_bpf.c BPF based action 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: Jiri Pirko * Daniel Borkmann */ diff --git a/tc/m_connmark.c b/tc/m_connmark.c index 640bba9da18e..8506d95af5ec 100644 --- a/tc/m_connmark.c +++ b/tc/m_connmark.c @@ -1,19 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * m_connmark.c Connection tracking marking import * * Copyright (c) 2011 Felix Fietkau - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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 . */ #include diff --git a/tc/m_csum.c b/tc/m_csum.c index 23c5972535c6..ba1e3e33b763 100644 --- a/tc/m_csum.c +++ b/tc/m_csum.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_csum.c checksum updating action * - * This program is free software; you can distribute 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: Gregoire Baron */ diff --git a/tc/m_ematch.c b/tc/m_ematch.c index 8840a0dc62a1..e30ee20542d4 100644 --- a/tc/m_ematch.c +++ b/tc/m_ematch.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_ematch.c Extended Matches * - * This program is free software; you can distribute 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: Thomas Graf */ diff --git a/tc/m_estimator.c b/tc/m_estimator.c index b5f4c860c606..98fc5e73f3c6 100644 --- a/tc/m_estimator.c +++ b/tc/m_estimator.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_estimator.c Parse/print estimator module options. * - * This program is free software; you can u32istribute 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, - * */ #include diff --git a/tc/m_gact.c b/tc/m_gact.c index 2ef52cd10559..e294a701bfd1 100644 --- a/tc/m_gact.c +++ b/tc/m_gact.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_gact.c generic actions module * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) - * */ #include diff --git a/tc/m_ife.c b/tc/m_ife.c index 70ab1d754fc5..162607ce7415 100644 --- a/tc/m_ife.c +++ b/tc/m_ife.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_ife.c IFE actions module * - * This program is free software; you can distribute 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: J Hadi Salim (jhs@mojatatu.com) - * */ #include diff --git a/tc/m_ipt.c b/tc/m_ipt.c index 046b310e64ab..465d1b8073d0 100644 --- a/tc/m_ipt.c +++ b/tc/m_ipt.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_ipt.c iptables based targets * utilities mostly ripped from iptables * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) */ diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 38d8043baa46..e5653e67f791 100644 --- a/tc/m_mirred.c +++ b/tc/m_mirred.c @@ -1,15 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_egress.c ingress/egress packet mirror/redir actions module * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) * * TODO: Add Ingress support - * */ #include diff --git a/tc/m_nat.c b/tc/m_nat.c index 654f9a3bd95e..583151254f73 100644 --- a/tc/m_nat.c +++ b/tc/m_nat.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_nat.c NAT module * - * This program is free software; you can distribute 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 - * */ #include diff --git a/tc/m_pedit.c b/tc/m_pedit.c index 54949e431953..afdd020b92bc 100644 --- a/tc/m_pedit.c +++ b/tc/m_pedit.c @@ -1,18 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit.c generic packet editor actions module * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) * * TODO: * 1) Big endian broken in some spots * 2) A lot of this stuff was added on the fly; get a big double-double * and clean it up at some point. - * */ #include diff --git a/tc/m_pedit.h b/tc/m_pedit.h index 549bcf86a91f..8f3771e16255 100644 --- a/tc/m_pedit.h +++ b/tc/m_pedit.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit.h generic packet editor actions module * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) * diff --git a/tc/m_police.c b/tc/m_police.c index f38ab90a3039..46c39a818761 100644 --- a/tc/m_police.c +++ b/tc/m_police.c @@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_police.c Parse/print policing module options. * - * This program is free software; you can u32istribute 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, - * FIXES: 19990619 - J Hadi Salim (hadi@cyberus.ca) - * simple addattr packaging fix. - * 2002: J Hadi Salim - Add tc action extensions syntax - * */ #include diff --git a/tc/m_sample.c b/tc/m_sample.c index 696d76095ae6..769de144cbe0 100644 --- a/tc/m_sample.c +++ b/tc/m_sample.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_sample.c ingress/egress packet sampling module * - * This program is free software; you can distribute 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: Yotam Gigi - * */ #include diff --git a/tc/m_simple.c b/tc/m_simple.c index bc86be27cbcc..fe2bca21ae46 100644 --- a/tc/m_simple.c +++ b/tc/m_simple.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_simple.c simple action * - * This program is free software; you can distribute 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: J Hadi Salim * * Pedagogical example. Adds a string that will be printed every time diff --git a/tc/m_skbedit.c b/tc/m_skbedit.c index 46d92b25582f..d55a6128494e 100644 --- a/tc/m_skbedit.c +++ b/tc/m_skbedit.c @@ -1,22 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * m_skbedit.c SKB Editing module * * Copyright (c) 2008, Intel Corporation. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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 . - * * Authors: Alexander Duyck - * */ #include diff --git a/tc/m_skbmod.c b/tc/m_skbmod.c index 8d8bac5bc481..b1c8d00dfe47 100644 --- a/tc/m_skbmod.c +++ b/tc/m_skbmod.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_skbmod.c skb modifier action module * - * This program is free software; you can distribute 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: J Hadi Salim (jhs@mojatatu.com) - * */ #include diff --git a/tc/m_tunnel_key.c b/tc/m_tunnel_key.c index ca0dff119a49..1b4c8bd640eb 100644 --- a/tc/m_tunnel_key.c +++ b/tc/m_tunnel_key.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_tunnel_key.c ip tunnel manipulation 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: Amir Vadai */ diff --git a/tc/m_vlan.c b/tc/m_vlan.c index 1b2b1d51ed2d..c1dc8b428e61 100644 --- a/tc/m_vlan.c +++ b/tc/m_vlan.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_vlan.c vlan manipulation 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: Jiri Pirko */ diff --git a/tc/m_xt.c b/tc/m_xt.c index deaf96a26f75..8a6fd3ce0ffc 100644 --- a/tc/m_xt.c +++ b/tc/m_xt.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_xt.c xtables based targets * utilities mostly ripped from iptables * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) */ diff --git a/tc/m_xt_old.c b/tc/m_xt_old.c index db014898590d..efa084c5441b 100644 --- a/tc/m_xt_old.c +++ b/tc/m_xt_old.c @@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_xt.c xtables based targets * utilities mostly ripped from iptables * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) */ diff --git a/tc/p_eth.c b/tc/p_eth.c index 7b6b61f809d3..b35e0c2b7c9a 100644 --- a/tc/p_eth.c +++ b/tc/p_eth.c @@ -1,13 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit_eth.c packet editor: ETH header * - * This program is free software; you can distribute 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: Amir Vadai (amir@vadai.me) - * */ #include diff --git a/tc/p_icmp.c b/tc/p_icmp.c index 933ca8a5ff1e..074d02f43019 100644 --- a/tc/p_icmp.c +++ b/tc/p_icmp.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit_icmp.c packet editor: ICMP header * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) - * */ #include diff --git a/tc/p_ip.c b/tc/p_ip.c index 8eed9e8da57d..7f66ef3143fb 100644 --- a/tc/p_ip.c +++ b/tc/p_ip.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * p_ip.c packet editor: IPV4 header * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) - * */ #include diff --git a/tc/p_ip6.c b/tc/p_ip6.c index f855c59e1f6b..3f8c23e46933 100644 --- a/tc/p_ip6.c +++ b/tc/p_ip6.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * p_ip6.c packet editor: IPV6 header * - * This program is free software; you can distribute 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: Amir Vadai - * */ #include diff --git a/tc/p_tcp.c b/tc/p_tcp.c index ec7b08a28c07..43d7fb48c194 100644 --- a/tc/p_tcp.c +++ b/tc/p_tcp.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit_tcp.c packet editor: TCP header * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) - * */ #include diff --git a/tc/p_udp.c b/tc/p_udp.c index 742955e6d225..d98224fb3836 100644 --- a/tc/p_udp.c +++ b/tc/p_udp.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * m_pedit_udp.c packet editor: UDP header * - * This program is free software; you can distribute 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: J Hadi Salim (hadi@cyberus.ca) - * */ #include diff --git a/tc/q_atm.c b/tc/q_atm.c index 77b56825f777..07866ccf2fce 100644 --- a/tc/q_atm.c +++ b/tc/q_atm.c @@ -3,7 +3,6 @@ * q_atm.c ATM. * * Hacked 1998-2000 by Werner Almesberger, EPFL ICA - * */ #include diff --git a/tc/q_cbq.c b/tc/q_cbq.c index 4619a37b8160..58afdca76a61 100644 --- a/tc/q_cbq.c +++ b/tc/q_cbq.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_cbq.c CBQ. * - * 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, - * */ #include diff --git a/tc/q_cbs.c b/tc/q_cbs.c index 13bb08e97e42..788535c6a022 100644 --- a/tc/q_cbs.c +++ b/tc/q_cbs.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_cbs.c CBS. * - * 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: Vinicius Costa Gomes - * */ #include diff --git a/tc/q_choke.c b/tc/q_choke.c index 570c3599e28b..7653eb7ef9c8 100644 --- a/tc/q_choke.c +++ b/tc/q_choke.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_choke.c CHOKE. * - * 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 */ diff --git a/tc/q_drr.c b/tc/q_drr.c index 4e829ce3331d..03c4744f6f26 100644 --- a/tc/q_drr.c +++ b/tc/q_drr.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_drr.c DRR. * - * 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 - * */ #include diff --git a/tc/q_dsmark.c b/tc/q_dsmark.c index d3e8292d777c..9adceba59c99 100644 --- a/tc/q_dsmark.c +++ b/tc/q_dsmark.c @@ -3,7 +3,6 @@ * q_dsmark.c Differentiated Services field marking. * * Hacked 1998,1999 by Werner Almesberger, EPFL ICA - * */ #include diff --git a/tc/q_etf.c b/tc/q_etf.c index c2090589bc64..572e2bc89fc1 100644 --- a/tc/q_etf.c +++ b/tc/q_etf.c @@ -1,14 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_etf.c Earliest TxTime First (ETF). * - * 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: Vinicius Costa Gomes * Jesus Sanchez-Palencia - * */ #include diff --git a/tc/q_fifo.c b/tc/q_fifo.c index ce82e74dcc5e..9b2c5348d375 100644 --- a/tc/q_fifo.c +++ b/tc/q_fifo.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_fifo.c FIFO. * - * 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, - * */ #include diff --git a/tc/q_gred.c b/tc/q_gred.c index 01f12eeeffad..f6a3f05eb95e 100644 --- a/tc/q_gred.c +++ b/tc/q_gred.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_gred.c GRED. * - * 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: J Hadi Salim(hadi@nortelnetworks.com) * code ruthlessly ripped from * Alexey Kuznetsov, diff --git a/tc/q_hfsc.c b/tc/q_hfsc.c index 81c10210c884..609d925a42e5 100644 --- a/tc/q_hfsc.c +++ b/tc/q_hfsc.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_hfsc.c HFSC. * - * 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, - * */ #include diff --git a/tc/q_ingress.c b/tc/q_ingress.c index 93313c9c2aec..3df4914c7d64 100644 --- a/tc/q_ingress.c +++ b/tc/q_ingress.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_ingress.c INGRESS. * - * 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: J Hadi Salim */ diff --git a/tc/q_mqprio.c b/tc/q_mqprio.c index 706452d08092..99c43491e0be 100644 --- a/tc/q_mqprio.c +++ b/tc/q_mqprio.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_mqprio.c MQ prio qdisc * - * 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: John Fastabend, */ diff --git a/tc/q_multiq.c b/tc/q_multiq.c index 8ad9e0b2fa3c..b1e6c9a83708 100644 --- a/tc/q_multiq.c +++ b/tc/q_multiq.c @@ -1,20 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * q_multiq.c Multiqueue aware qdisc * * Copyright (c) 2008, Intel Corporation. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope 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 . - * * Author: Alexander Duyck * * Original Authors: PJ Waskiewicz, (RR) diff --git a/tc/q_pie.c b/tc/q_pie.c index 709a78b4c7c4..177cdcae0f2e 100644 --- a/tc/q_pie.c +++ b/tc/q_pie.c @@ -1,18 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (C) 2013 Cisco Systems, Inc, 2013. - * - * 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. - * - * 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. * * Author: Vijay Subramanian * Author: Mythili Prabhu - * */ #include diff --git a/tc/q_prio.c b/tc/q_prio.c index a723a151bb7f..c8c6477e1a98 100644 --- a/tc/q_prio.c +++ b/tc/q_prio.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_prio.c PRIO. * - * 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, - * */ #include diff --git a/tc/q_qfq.c b/tc/q_qfq.c index eb8fa4b84927..c9955cc96a97 100644 --- a/tc/q_qfq.c +++ b/tc/q_qfq.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_qfq.c QFQ. * - * 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 * Fabio Checconi * diff --git a/tc/q_red.c b/tc/q_red.c index fd50d37d31cb..f760253d13b2 100644 --- a/tc/q_red.c +++ b/tc/q_red.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_red.c RED. * - * 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, - * */ #include diff --git a/tc/q_rr.c b/tc/q_rr.c index 843a4faeef41..5dc402e70ca8 100644 --- a/tc/q_rr.c +++ b/tc/q_rr.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_rr.c RR. * - * 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: PJ Waskiewicz, * Original Authors: Alexey Kuznetsov, (from PRIO) */ diff --git a/tc/q_sfb.c b/tc/q_sfb.c index 8af55d98c36a..a2eef281e10f 100644 --- a/tc/q_sfb.c +++ b/tc/q_sfb.c @@ -1,17 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_sfb.c Stochastic Fair Blue. * - * 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: Juliusz Chroboczek - * */ - - #include #include #include diff --git a/tc/q_sfq.c b/tc/q_sfq.c index d04a440cece7..17bf8f63f105 100644 --- a/tc/q_sfq.c +++ b/tc/q_sfq.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_sfq.c SFQ. * - * 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, - * */ #include diff --git a/tc/q_skbprio.c b/tc/q_skbprio.c index ca81a72cc8b1..b0ba180ab9c4 100644 --- a/tc/q_skbprio.c +++ b/tc/q_skbprio.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_skbprio.c SKB PRIORITY QUEUE. * - * 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: Nishanth Devarajan, - * */ #include diff --git a/tc/q_taprio.c b/tc/q_taprio.c index a7c01ae0cedb..e00d2aa9a842 100644 --- a/tc/q_taprio.c +++ b/tc/q_taprio.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_taprio.c Time Aware Priority Scheduler * - * 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: Vinicius Costa Gomes * Jesus Sanchez-Palencia */ diff --git a/tc/q_tbf.c b/tc/q_tbf.c index 4e5bf382fd03..caea6bebd871 100644 --- a/tc/q_tbf.c +++ b/tc/q_tbf.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * q_tbf.c TBF. * - * 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, - * */ #include diff --git a/tc/tc.c b/tc/tc.c index 7557b9778111..258205004611 100644 --- a/tc/tc.c +++ b/tc/tc.c @@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc.c "tc" 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, - * - * Fixes: - * - * Petri Mattila 990308: wrong memset's resulted in faults */ #include diff --git a/tc/tc_cbq.c b/tc/tc_cbq.c index f56011ad1d07..7d1a44569f1d 100644 --- a/tc/tc_cbq.c +++ b/tc/tc_cbq.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_cbq.c CBQ maintenance routines. * - * 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, - * */ #include diff --git a/tc/tc_class.c b/tc/tc_class.c index 409af2db7a3d..c1feb0098feb 100644 --- a/tc/tc_class.c +++ b/tc/tc_class.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_class.c "tc class". * - * 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, - * */ #include diff --git a/tc/tc_core.c b/tc/tc_core.c index 498d35dca8fb..8276f6a1f60b 100644 --- a/tc/tc_core.c +++ b/tc/tc_core.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_core.c TC core library. * - * 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, - * */ #include diff --git a/tc/tc_estimator.c b/tc/tc_estimator.c index f494b7caa44e..275f254949d2 100644 --- a/tc/tc_estimator.c +++ b/tc/tc_estimator.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_core.c TC core library. * - * 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, - * */ #include diff --git a/tc/tc_exec.c b/tc/tc_exec.c index 9b912ceb1916..5d8834029a0b 100644 --- a/tc/tc_exec.c +++ b/tc/tc_exec.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_exec.c "tc exec". * - * 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 */ diff --git a/tc/tc_filter.c b/tc/tc_filter.c index 71be2e8119c9..9617d28a831f 100644 --- a/tc/tc_filter.c +++ b/tc/tc_filter.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_filter.c "tc filter". * - * 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, - * */ #include diff --git a/tc/tc_monitor.c b/tc/tc_monitor.c index 64f31491607e..2573d744a0ee 100644 --- a/tc/tc_monitor.c +++ b/tc/tc_monitor.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_monitor.c "tc 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: Jamal Hadi Salim - * */ #include diff --git a/tc/tc_qdisc.c b/tc/tc_qdisc.c index 33a6665eaac0..b97f21822e27 100644 --- a/tc/tc_qdisc.c +++ b/tc/tc_qdisc.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_qdisc.c "tc qdisc". * - * 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, * J Hadi Salim: Extension to ingress */ diff --git a/tc/tc_red.c b/tc/tc_red.c index 88f5ff358ce5..700a9212f227 100644 --- a/tc/tc_red.c +++ b/tc/tc_red.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_red.c RED maintenance routines. * - * 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, - * */ #include diff --git a/tc/tc_stab.c b/tc/tc_stab.c index 0f944003458d..a773372635e7 100644 --- a/tc/tc_stab.c +++ b/tc/tc_stab.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_stab.c "tc qdisc ... stab *". * - * 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: Jussi Kivilinna, - * */ #include diff --git a/tc/tc_util.c b/tc/tc_util.c index d2622063a6d4..f72a19ca2757 100644 --- a/tc/tc_util.c +++ b/tc/tc_util.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tc_util.c Misc TC utility functions. * - * 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, - * */ #include -- 2.39.0