From patchwork Wed Jan 11 18:52:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097097 X-Patchwork-Delegate: stephen@networkplumber.org 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 00327C46467 for ; Wed, 11 Jan 2023 18:52:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238562AbjAKSwg (ORCPT ); Wed, 11 Jan 2023 13:52:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238088AbjAKSwc (ORCPT ); Wed, 11 Jan 2023 13:52:32 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E9D13630D for ; Wed, 11 Jan 2023 10:52:31 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id cx21-20020a17090afd9500b00228f2ecc6dbso741611pjb.0 for ; Wed, 11 Jan 2023 10:52:31 -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=5CTi3L9lTWxBef3pG4TT3BX1YM1HI21Ia1Q1MD2uQM4=; b=7Vk4NNRGjsKgkeH05OJQTuSOV+WFX1P6mgpbkArw9r6AqX7wfRfO4ibaRgT626oP4Y ca+mqudS+F88sX3z4pHmWZh0eE9PEgpuchKIZz0ASMgXemG/O8SyAsWIYjVzmkg83xPB fn0LE4w6zwJAsut2is4rLD5Mgz5DEKE9THIZJozfAOJ0ahxRUA+2IXfggM7eyrLnoGaR 95JKgSzz7zT+050qdG+PXV8X+Dt/KWGrWS24+P0doDIQiATmSKZLViuppjvZmuDkRXOR 8HyLWfIHDM39wEHtN0JWAKN/QlkpEvcD3dcD39htcAm986Tp1az67zWPbZt17byN1MzP jByQ== 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=5CTi3L9lTWxBef3pG4TT3BX1YM1HI21Ia1Q1MD2uQM4=; b=Z+KWSGcymfdkyRPwJD6ygC5tdo0PPqgR13JApixsJ9QeRX4wiTk1hU8MzLMGFjeIQf +XUhH7mhQRgtB9aMwS+oTVxnWNq2IcE73EUe6o9xf8Xx0ifFYP7UupEPM0FzgeFsx5yr TTxS254EYREPzJggdM5V2wWm8dvwQTzgpfv/UzQJLhkYNhdxFE0/O2yWmEZCcCK/kr9d GZW1ZSBe8eDR1ksrbNqintxILK2cnUdw8wsWhSL3SCbjpegQTGsAe7O46WVhdiQOStTG 2LQYWScBTSBhtzngR/3CZ45flMgDzN5JaJTZJhhAy2Ht/e5ng2C5ZWjQzhOB5yuoOz2+ ewVg== X-Gm-Message-State: AFqh2krSRCREcMatgbWEs4LkHGiRLu05AskE6CaFmc7kUXafmynq71vj sZsTetMHPmw3Sr0XNdMqYDOQyAKYm4a0wa3AwSs= X-Google-Smtp-Source: AMrXdXsL+jKqe943VPDj9g8A3oD53Mjp8PJ/ZuOB6zYEvHs3n0aGSZRRJ0zZRc91G2nJ2lcMdPUp9w== X-Received: by 2002:a05:6a20:4ca1:b0:af:f80a:140f with SMTP id fq33-20020a056a204ca100b000aff80a140fmr73161464pzb.8.1673463150578; Wed, 11 Jan 2023 10:52:30 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:29 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 01/11] bridge: use SPDX Date: Wed, 11 Jan 2023 10:52:17 -0800 Message-Id: <20230111185227.69093-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace GPL 2.0 or later boilerplate text. Signed-off-by: Stephen Hemminger --- bridge/monitor.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bridge/monitor.c b/bridge/monitor.c index d82f45cc02d1..552614d79902 100644 --- a/bridge/monitor.c +++ b/bridge/monitor.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * brmonitor.c "bridge 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: Stephen Hemminger - * */ #include From patchwork Wed Jan 11 18:52:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097099 X-Patchwork-Delegate: stephen@networkplumber.org 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 BBC4CC5479D for ; Wed, 11 Jan 2023 18:52:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238714AbjAKSwm (ORCPT ); Wed, 11 Jan 2023 13:52:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238273AbjAKSwd (ORCPT ); Wed, 11 Jan 2023 13:52:33 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 247B336313 for ; Wed, 11 Jan 2023 10:52:32 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id z4-20020a17090a170400b00226d331390cso18213620pjd.5 for ; Wed, 11 Jan 2023 10:52:32 -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=r7WJSoy0uegw9dFl9dl6tf8Vv4Ve655TU6QGZBJXNy8=; b=moAi5fXhGPuLOPffOhHQ5LKCNDfz/feSFGB5NF1EyqBxbkj+Uu5k2AoVMBSKM+xrmP teBPfy0Oxpt8D8byh8+VVrJRYZjWFxdL7xYZK7X0Diva6Ppw3FFYGCp8BEiU6rVb7RRn W9+rb80CrKAcTgTLkVQVN0/A3/AqpNL3vrIFKHiBDyyvETP3aJni9lwk4dWwDbvOuOC/ SMG49R9tkEQs9tDe5LF9Mm7ut4wvFwl+8V4mfKLuJAif85E/mt5/fhJiAF8y+KFAguKy tWIVsDmiG/xtIWxMHRZDCwtyKX+nbI+0EfI22w5+TverYA1bD2cft4l9yeuKYYobsk9r 24xA== 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=r7WJSoy0uegw9dFl9dl6tf8Vv4Ve655TU6QGZBJXNy8=; b=dZRYHGKgdLT8iw/V/fwUFjNSo6OJjuT3Fs/8tSxBKF5HjBZD6+YZowSugGe7aEzBs7 RhJn75iCXUlPqhZT6LMvY63duF6w79+23HeYEvRvf/y5aJK4hEjixUKSjfAVWENN+8yI dSwMUk0n7gg+dtyY68ExPQucpREi0uxiVSNjrTqDaokeWUf3P12r2ymLwDgSXP0hKhH3 GzjriL3qka/Kl0CJUFg4Ha2UdY6nhBW9XSoxfllZWo8lF+1qhI8vYsBww5bc4iGyQ9P1 LDkX9CK348HZC2iQfFhTn+kMImGILtVN7KiCLTitXCL05175uAs4FLJZLaLgmTB5t6AJ l58A== X-Gm-Message-State: AFqh2krNz2lE8gCc4n8fgSDk+ABnU9Hz/BNWBOn5BA2NkZf3zh2IAJ3v yU7kbkMi9MOQhnDWbYNssK8pJNJgeQH2mOS92KE= X-Google-Smtp-Source: AMrXdXsHeuLWOxvmrzNxd3BeggMAD40tdHIPx00RsIP0dfcmGI+bQ38vFiPlPECKcNgqpE9h3omg4Q== X-Received: by 2002:a05:6a20:9399:b0:ad:a277:eeee with SMTP id x25-20020a056a20939900b000ada277eeeemr81549888pzh.45.1673463151349; Wed, 11 Jan 2023 10:52:31 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:30 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 02/11] genl: use SPDX Date: Wed, 11 Jan 2023 10:52:18 -0800 Message-Id: <20230111185227.69093-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace GPL 2.0 or later boilerplate. Signed-off-by: Stephen Hemminger --- genl/ctrl.c | 6 +----- genl/genl.c | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/genl/ctrl.c b/genl/ctrl.c index 549bc6635831..a2d87af0ad07 100644 --- a/genl/ctrl.c +++ b/genl/ctrl.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ctrl.c generic netlink controller * - * 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) * Johannes Berg (johannes@sipsolutions.net) */ diff --git a/genl/genl.c b/genl/genl.c index 6557e6bc6ce6..85cc73bb2e18 100644 --- a/genl/genl.c +++ b/genl/genl.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * genl.c "genl" 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: Jamal Hadi Salim - * */ #include From patchwork Wed Jan 11 18:52:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097102 X-Patchwork-Delegate: stephen@networkplumber.org 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 C3042C46467 for ; Wed, 11 Jan 2023 18:52:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238775AbjAKSwr (ORCPT ); Wed, 11 Jan 2023 13:52:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238467AbjAKSwe (ORCPT ); Wed, 11 Jan 2023 13:52:34 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B8E395F6 for ; Wed, 11 Jan 2023 10:52:33 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso21081206pjt.0 for ; Wed, 11 Jan 2023 10:52:33 -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=Nv5Y0fFGPIBbIGfToOvyD5tX7UMRV0cUkXHicHhuZRg=; b=vNQfM907zcZQ0sRqidNp5ipAG6UlDdXTKtGcNhPbQlEWo87BT6rfNlPcj+N8xodqr7 mo8p47+/9bIBzu8MQscREiYqXsqjo9aC2GexVKXrca171X2BDREvij4m2L5f/JGrCZf7 j4CHUYroInRVy6LLvkUI3JU1occUgQssDnN5BsyOibBkHuxQr0c7D3SKubK84g0yJRbc wEJjqDQ71O1hCzu+UtdPeG4WQgHWIQsWHQF7HAuY5Sgbx0OaUYIRe0QnhRA/w7UPAb35 n8tTxxuotUI9UqlY4uH7ugnk9BV5iUrDDUvj8drERJ2m7Pl2RlRaOJ7hktnH+Xw7qkFe G98Q== 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=Nv5Y0fFGPIBbIGfToOvyD5tX7UMRV0cUkXHicHhuZRg=; b=pj/vXN6b/3bvtrkmy+GWyQtfJ0ABomYefjLr4n9ni/PdtwP6AkThN4V+CByvDn5g1s PoBk8Mig0dLjNCcGfltJ30R2Lsmcw9/NojD1Ucof9ppxvnDQD1gMVYoUHEoXacPJZzY4 VP4rvkZVlVaeBdT1DxolmXjdqpiMdCfx/8fO3aOsu3+li+E2SZrbxozecDru6a6MLoS/ gkOF/r5GvCiKTiXtbogvL/VGcV/+p5/A/8Z5/At8K+W8mcKZNgIfsPMVx/v8PSKHpxey MaEJk9cjAAhjM7EUQF3pLQOjj5BnafErw87WZx4uwcCIb7Qn8/IvtvyWWuDLjB01V32Z emDA== X-Gm-Message-State: AFqh2krQATew+P2yRd/7mSB9QwD7OjOsucUXUI1sDYhaWQKxDDO0VWdn d5zje59MWmUKS5AWeCrEklW6TKeniYjD6Pkrrmg= X-Google-Smtp-Source: AMrXdXu1yA0BnpGSgenXIacfuUF3vIxrOv226cSQMIO+fWulqEhhfZIekwvtKJPHTFtYDKDUjvkvFw== X-Received: by 2002:a17:90b:1291:b0:226:5486:fb15 with SMTP id fw17-20020a17090b129100b002265486fb15mr3420734pjb.15.1673463152139; Wed, 11 Jan 2023 10:52:32 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:31 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 03/11] lib: replace GPL boilerplate with SPDX Date: Wed, 11 Jan 2023 10:52:19 -0800 Message-Id: <20230111185227.69093-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace standard GPL 2.0 or later text with SPDX tag. Signed-off-by: Stephen Hemminger --- lib/bpf_legacy.c | 6 +----- lib/cg_map.c | 6 +----- lib/fs.c | 7 +------ lib/inet_proto.c | 7 +------ lib/json_print.c | 8 ++------ lib/libnetlink.c | 7 +------ lib/ll_addr.c | 6 +----- lib/ll_map.c | 7 +------ lib/ll_proto.c | 5 +---- lib/ll_types.c | 6 +----- lib/names.c | 7 +------ lib/namespace.c | 6 +----- lib/rt_names.c | 6 +----- lib/utils.c | 7 +------ 14 files changed, 15 insertions(+), 76 deletions(-) diff --git a/lib/bpf_legacy.c b/lib/bpf_legacy.c index 4fabdcc899e4..8ac642358969 100644 --- a/lib/bpf_legacy.c +++ b/lib/bpf_legacy.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * bpf.c BPF common code * - * 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 * Jiri Pirko * Alexei Starovoitov diff --git a/lib/cg_map.c b/lib/cg_map.c index 39f244dbc5bd..e5d14d512c39 100644 --- a/lib/cg_map.c +++ b/lib/cg_map.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cg_map.c cgroup v2 cache * - * 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 Yakunin */ diff --git a/lib/fs.c b/lib/fs.c index 3752931cf8f8..22d4af7583dd 100644 --- a/lib/fs.c +++ b/lib/fs.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * fs.c filesystem APIs * - * 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 - * */ #include diff --git a/lib/inet_proto.c b/lib/inet_proto.c index 41e2e8b88d82..71cd3b128841 100644 --- a/lib/inet_proto.c +++ b/lib/inet_proto.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * inet_proto.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, - * */ #include diff --git a/lib/json_print.c b/lib/json_print.c index 741acdcff990..d7ee76b10de8 100644 --- a/lib/json_print.c +++ b/lib/json_print.c @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * json_print.c "print regular or json output, based on json_writer". - * - * 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. + * json_print.c - print regular or json output, based on json_writer * * Authors: Julien Fortin, */ diff --git a/lib/libnetlink.c b/lib/libnetlink.c index 001efc1d7f24..c89760436aba 100644 --- a/lib/libnetlink.c +++ b/lib/libnetlink.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * libnetlink.c RTnetlink service 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/lib/ll_addr.c b/lib/ll_addr.c index d6fd736b1e3a..5e9245915ef3 100644 --- a/lib/ll_addr.c +++ b/lib/ll_addr.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_addr.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, */ diff --git a/lib/ll_map.c b/lib/ll_map.c index 70ea3d499c8f..8970c20f3cdd 100644 --- a/lib/ll_map.c +++ b/lib/ll_map.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_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, - * */ #include diff --git a/lib/ll_proto.c b/lib/ll_proto.c index 925e2caa05e5..526e582fbbba 100644 --- a/lib/ll_proto.c +++ b/lib/ll_proto.c @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_proto.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, */ diff --git a/lib/ll_types.c b/lib/ll_types.c index 49da15df911d..fa57ceb5c3b8 100644 --- a/lib/ll_types.c +++ b/lib/ll_types.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ll_types.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, */ diff --git a/lib/names.c b/lib/names.c index b46ea7910946..cbfa971ff61b 100644 --- a/lib/names.c +++ b/lib/names.c @@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * names.c db names - * - * 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. - * */ #include diff --git a/lib/namespace.c b/lib/namespace.c index 45a7deddb6c4..1202fa85f97d 100644 --- a/lib/namespace.c +++ b/lib/namespace.c @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * namespace.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. */ #include diff --git a/lib/rt_names.c b/lib/rt_names.c index b976471d7979..2432224acc0a 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * rt_names.c rtnetlink names DB. * - * 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, */ diff --git a/lib/utils.c b/lib/utils.c index dd3cdb31239c..b740531ab6c9 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * utils.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, - * */ #include From patchwork Wed Jan 11 18:52:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097100 X-Patchwork-Delegate: stephen@networkplumber.org 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 C14D8C54EBC for ; Wed, 11 Jan 2023 18:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238898AbjAKSwt (ORCPT ); Wed, 11 Jan 2023 13:52:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238514AbjAKSwe (ORCPT ); Wed, 11 Jan 2023 13:52:34 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BB8D3C3A6 for ; Wed, 11 Jan 2023 10:52:33 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id o13so13282452pjg.2 for ; Wed, 11 Jan 2023 10:52:33 -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=b1JoU83uEA8dwyXtle6P1+fwEOOsB8BpyzqJ+2+pwgo=; b=S9fBhzYHwC+feT7xPke8/DreQnik8EA3yOpD7iWl8u/PNcFk1MeopneC4vBWbrfQed 3DeTDGT3VPu8rF/k9T6DXpPEXGOgv/YqcVZtNMpPdqpIVptyyQLPyv2xaU60KF5f8PS8 8a3eR2pwGqDoZbLjDfwXAEnu1RQNHQwZJ5aCUSQM9ThW26Ki1HezKL5Zy6O3LBR8vvpb 36FsUHsGykv3ZrIK42xHJVs7Q0RXxLNgBRByR7wqHw03aYaVX7Rg6FdSgyz/Oglm4ldz OesWbn+vQZk2fsfWKOAfVSFqUyCwNPiJ3AK2GsZdikDV5kfc7pGw3QSKS+QZ1iaaC1gq 764w== 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=b1JoU83uEA8dwyXtle6P1+fwEOOsB8BpyzqJ+2+pwgo=; b=rOHbn1o83CJCHlTn2V0BNwTMagwPizJv0aCMJ3RWIGuWWNdmCgeBy47xorj+RD+YAD LTDFJnX2l75QXMjNV1ozsa2sAv3PZEbUbbOCSDcAoWlPBQQADrW2QIdYYCVShFsnDRxs bLclf+ck266s6seluyxb2r8Jt8gVvqkP/kGsJhSQQMY7t91m23v9+gtNEMxzx9VMhvWO UyNSS4gcUMtqMt3eRIURXqa6Uj9QOlham2mX5CeOImOb3HRNFOCdLEcjCvybW/lNyNzi 4CLUhdYhOiCaxZFCH9i0ApL7S7XgnGwnI1FlWP+xHcMHEyx3lZMdspSDuhU1VjnTXnBh QbYg== X-Gm-Message-State: AFqh2kqC5C7MFY910i/Eo3rgV8+TPBAGQM21UmoFZSU+nOzkWB4Wh6NY GLQ0ebIPfg4CJgkdwVNNvv8vhC0RYtq9jo0JdAo= X-Google-Smtp-Source: AMrXdXuiCzWCOW9bJcvpu95aYBlYhg6HTfvHLRa3UUqnoUpwoC6Jl7zFlpPjq2elo4OgBTn9IjeyYQ== X-Received: by 2002:a05:6a20:5494:b0:ad:94d0:ac97 with SMTP id i20-20020a056a20549400b000ad94d0ac97mr5066689pzk.48.1673463152846; Wed, 11 Jan 2023 10:52:32 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:32 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 04/11] devlink: use SPDX Date: Wed, 11 Jan 2023 10:52:20 -0800 Message-Id: <20230111185227.69093-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Add SPDX tag instead of GPL 2.0 or later boilerplate Signed-off-by: Stephen Hemminger --- devlink/devlink.c | 6 +----- devlink/mnlg.c | 6 +----- devlink/mnlg.h | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/devlink/devlink.c b/devlink/devlink.c index ae93e7cb620e..931a768a41d1 100644 --- a/devlink/devlink.c +++ b/devlink/devlink.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * devlink.c Devlink tool * - * 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/devlink/mnlg.c b/devlink/mnlg.c index b2e0b8c0f274..d049eb5a45a3 100644 --- a/devlink/mnlg.c +++ b/devlink/mnlg.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * mnlg.c Generic Netlink helpers for libmnl * - * 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/devlink/mnlg.h b/devlink/mnlg.h index 24aa17566a9b..3249c54c45a4 100644 --- a/devlink/mnlg.h +++ b/devlink/mnlg.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * mnlg.h Generic Netlink helpers for libmnl * - * 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 */ From patchwork Wed Jan 11 18:52:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097104 X-Patchwork-Delegate: stephen@networkplumber.org 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 11A09C5479D for ; Wed, 11 Jan 2023 18:52:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238088AbjAKSwx (ORCPT ); Wed, 11 Jan 2023 13:52:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238568AbjAKSwi (ORCPT ); Wed, 11 Jan 2023 13:52:38 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601903C727 for ; Wed, 11 Jan 2023 10:52:35 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id b17so10233901pld.7 for ; Wed, 11 Jan 2023 10:52:35 -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=PzRi/OFPd7IUQ4hK8SxYdKVbLg7z+Ng8fCrdtEpWZ0E=; b=CI2gX2HJrHC08JN+PRo593OAaImX53x3eLG3QPcgHE0OceEwiopMWh1aHRc18XAQ3H aSu8aQDnqbwuMGOTlS9zjQpnfpm8/Q5EDCwiRp+bCggQ5iO6SfY3I1GoQWKV/4z8WZrw DHhy+khvu+KOS1thwsk/4h+orUOkFRVbBH31iElSrd1ny71jbTkV2rgcey1zbT9kJ/Zy a9QBffQY8DxKGSdjUTefHgtQCZwJzuXqoTGSQT9F3wh+rE//8iraKLezCUTW8ruw500q d3M3NKMjeS6IQemRrj1kUJxGlPR/SUtybGcFzsa5ypkUxHelfWueoK6tEohQ1WqvcACC VuyA== 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=PzRi/OFPd7IUQ4hK8SxYdKVbLg7z+Ng8fCrdtEpWZ0E=; b=GyZ/uI4q7cKHQrSA5sahu1ryC2MRamnJ6FpJj6FXM9V+QiruRqSnu8aVXzNCYfwIfH 1kBzKk8CbyfAF/3hkqw3c64ZbztghZsoDsWsh2JUzS828hH2k1mhWH6pJSFvUvTREec2 grkiDst2dbL3dFMTBkaceExzogeFB/DzlsOL+GPB9wqqXiyPls0VCNmy+N4OYIJLZ3eC tXwtOjd1+aLYMTk67hGIapoW4kjbFnbhhKIH2zyt7m7GkFRGJKN1+HRKPDVB9meshCdE Tn9MpFn/pS8mieyejio58Z6BF/fUg4osueqOZ4bacexxJszwROJHJPh5gNA4gG86OWZX xUDg== X-Gm-Message-State: AFqh2kqEi16I12sUfAaxzWGmCCgvPSsejO4Ww44pHzD3CtlOf1U0hdjw iBxdZVIKMVHs62bfkABol4qkDfsvfJ7mj92ypx8= X-Google-Smtp-Source: AMrXdXuywvXASAQpinopzXKUXO3YjjAXlpmn3CdGDvo6Xyv94xsL0h4MOmpJMPnDKcrUw3AcsK07Pw== X-Received: by 2002:a17:90a:5904:b0:227:e10:9a93 with SMTP id k4-20020a17090a590400b002270e109a93mr12849097pji.20.1673463153636; Wed, 11 Jan 2023 10:52:33 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:33 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 05/11] ip: use SPDX Date: Wed, 11 Jan 2023 10:52:21 -0800 Message-Id: <20230111185227.69093-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Use SPDX instead of boilerplate text for ip and related sub commands. Signed-off-by: Stephen Hemminger --- 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_batadv.c | 1 + 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 ++------------------ 60 files changed, 67 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, */ 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 . - */ -/* * 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, - * */ #include 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 . - * - * * Based on iprule.c. * * Authors: YOSHIFUJI Hideaki - * */ #include 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 */ 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 */ 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 - * */ #include 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, - * */ #include 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 */ diff --git a/ip/iplink_batadv.c b/ip/iplink_batadv.c index 45bd923f766d..27d316762e70 100644 --- a/ip/iplink_batadv.c +++ b/ip/iplink_batadv.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * iplink_batadv.c Batman-adv support * 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 * Scott Feldman */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 * * Based on iplink_vlan.c by Patrick McHardy 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 * copied iflink_vlan.c authored by Patrick McHardy */ 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 */ 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 * Arnd Bergmann */ 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 #include 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 */ 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 */ 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 * Based on: link_veth.c from Pavel Emelianov */ 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 */ 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 */ 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 */ 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, - * */ #include 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, - * */ #include 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, - * */ #include 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, - * */ #include 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, - * */ #include 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 . - */ -/* * 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 . - */ -/* * 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, - * */ #include 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, * Thomas Graf - * */ #include 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, - * */ #include 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 */ 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, */ 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, - * */ #include 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 - * */ #include 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 - * */ #include 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 . - */ -/* * 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 - * */ #include 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 - * */ #include 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 - * */ #include 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 - * */ #include 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 - * */ #include 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 * Saurabh Mohan 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 * Saurabh Mohan Modified link_gre.c for VTI * Steffen Klassert 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, - * */ #include 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, - * */ #include 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 , 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 . - */ -/* * 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 . - */ -/* * 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 . - */ -/* * 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 . - */ -/* * 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 . - */ -/* * 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 . - */ -/* * based on iproute.c - */ -/* + * * Authors: * Masahide NAKAMURA @USAGI */ From patchwork Wed Jan 11 18:52:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097101 X-Patchwork-Delegate: stephen@networkplumber.org 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 BB546C5479D for ; Wed, 11 Jan 2023 18:52:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238218AbjAKSwu (ORCPT ); Wed, 11 Jan 2023 13:52:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235757AbjAKSwg (ORCPT ); Wed, 11 Jan 2023 13:52:36 -0500 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37AA33C71C for ; Wed, 11 Jan 2023 10:52:35 -0800 (PST) Received: by mail-pj1-x102c.google.com with SMTP id b9-20020a17090a7ac900b00226ef160dcaso16477033pjl.2 for ; Wed, 11 Jan 2023 10:52:35 -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=JuJ0jyh9SuVXUDjBJeCc/AYMZcQQVMpyLQtigbol/jo=; b=74+kTEJ9WsORWRLTThdPdZTktWtY2VD9vZwCWBhhxmMuUWIZsWdz9NPBbKIw75mmEN noh9wXDm4/bvEdkDiLxPHij2AYZVygmN1vTbm+4+lfSwy9ZcFU1ce8Q4v+yqh8eV/efR /soEkleeFa2TlsNx8IvM/AfOscnefR8vptFVPvyjStQ8ypyDlqQ8pZbiLqu9CbBhGoFk 7AOuJUfDHHRN9e3B6hWtv0JOWY4sX/G0ENpc1JslX49zmFsWBLM190woqPWlpJFpUxrT 5kQHDxIS1w2bdoFdd3HqKF5OFn/z+os12eSCsjbsK0gQXlQytNsqJhklsGArY6XtIA0J 27KQ== 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=JuJ0jyh9SuVXUDjBJeCc/AYMZcQQVMpyLQtigbol/jo=; b=VU7NfH9s8kyqy02nd6H1KMZa7EyJn4Kyi8SldX4gd2wHcZd/jSf/nwgOHQgBPpSgdg Hde2z15HVhKV4Vc2HzVflM9z1xlTR2z23ePdHXvRWjOl0YZB7UOi+Dyx62w0n6vy2m+T tuXLkETKPEn929FU3OaHwioORsAOj4/oIVABt7KETy+I39toupHHWQYYR6m4xl8FFIxt yKv/E3HlPzsYlXv8v/GrgsGffaybBgLCncHXyFWUjCvg0D52J81YW3p31KJhGkc7VaOr 2axulx0zMlAshLJVaC8/w06uGeU7LW896RDcvvlkjXv9rINVrNJ3HztSnuBsqY/R8eKY LpYQ== X-Gm-Message-State: AFqh2kotda6e+VmS+EXSPeO+SFO/HKbYVejvboluOOOZIpultMDI2fXI yNoLs/FtRY7UtalpT0m2C06gbmR7cUe5v1OSAB0= X-Google-Smtp-Source: AMrXdXubTs6tp9Gx5CbIneRUcqProqJnyj1xBGouFakCZ7GIvJoE9m6heUG7wnDVCA2gC8vtKVlvkw== X-Received: by 2002:a05:6a21:9218:b0:9d:efbf:787d with SMTP id tl24-20020a056a21921800b0009defbf787dmr87247339pzb.50.1673463154412; Wed, 11 Jan 2023 10:52:34 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:34 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 06/11] testsuite: use SPDX Date: Wed, 11 Jan 2023 10:52:22 -0800 Message-Id: <20230111185227.69093-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace boilerplate with SPDX tag. Signed-off-by: Stephen Hemminger --- testsuite/tools/generate_nlmsg.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/testsuite/tools/generate_nlmsg.c b/testsuite/tools/generate_nlmsg.c index fe96f2622047..106dca63686f 100644 --- a/testsuite/tools/generate_nlmsg.c +++ b/testsuite/tools/generate_nlmsg.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * generate_nlmsg.c Testsuite helper generating nlmsg blob * - * 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: Phil Sutter */ From patchwork Wed Jan 11 18:52:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097103 X-Patchwork-Delegate: stephen@networkplumber.org 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 05B21C63797 for ; Wed, 11 Jan 2023 18:52:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235757AbjAKSwv (ORCPT ); Wed, 11 Jan 2023 13:52:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238088AbjAKSwi (ORCPT ); Wed, 11 Jan 2023 13:52:38 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBDC35939 for ; Wed, 11 Jan 2023 10:52:36 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id y1so17754608plb.2 for ; Wed, 11 Jan 2023 10:52:36 -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=7ziUbJeTFsQYm5JeFZurTZRkyo/IR+1XCeqcNEjCGOY=; b=ymGkfAncQJ+wJW6inedp5P6GBTdFdvk5a3iNLFkTC27Ufhy6JkHIBP38jKdkcjeldB 3MzeipUTPQyHykvBW7M7aOSrsgKwxnnyJg5U8qZOq/hi+7zMVp0t5DE2ADRhz5HxLgQ+ x3mcmOYcqxKmTFkUDjvGVYYx3BebsoUjv6/byMc29kT+ZwfOxxpVCwSqYk0iWh+a8rhz ADQc47qTO/axmtKffoB+MEUjr3fzezy9w+D/K3D7QASFY8fmvaIIHVGBjCzbjbMMF1t/ zIkkQnGAu2fJACcCRTtgHvw7CoZd6bVGsL/Ua91Z6azOhbczSs0UhFAU73WIK9neBILw IowA== 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=7ziUbJeTFsQYm5JeFZurTZRkyo/IR+1XCeqcNEjCGOY=; b=zoXc0opxj+3M4TvuRs3S8wHGbhZ81x37PKv0kqK5gwEgCqMUj0AW1iK0+7/Y1toNNs rdrAjCz2V0K8+hx+9+xKoYm4nJCeSABCo2bDq/rUd4DILLPznuSeIpTeINdlgQ2NLhh5 aBHaADACgCYDWo6tE2g223Hok3VQjOO57ziqxklxqbglYRpuBr8CFIe1cGLRNkcxl5oZ D/JuZ38aek/OL7QaL2jrlQ+qpBvqMJW3UbvRg3ogQ/8cw0iseWTgC0sjvKsVAtVHDcfD 9z7/c4eYYylUmru5ckjRKvQgNgUe5tudfjEgOETCsJ57ko74b/xVzAxRKpLDSc7zBsgG xXfg== X-Gm-Message-State: AFqh2kqto6HIXLm6sGTCBRZKZCAe5FxB+hpKSsmjlWxl/ydGm1WyPoNV anjaTEgFPwj5W13PtGZyLRy/OC8JzdDLjkIS2zw= X-Google-Smtp-Source: AMrXdXvMYC2t+eMw/ud1N6dN330Os+6S5bdpLdcyVnI3isYDN34+DtYxfSttzdeivDj1cP+k+XUvJg== X-Received: by 2002:a05:6a20:d909:b0:ad:db18:e94 with SMTP id jd9-20020a056a20d90900b000addb180e94mr4177169pzb.49.1673463155532; Wed, 11 Jan 2023 10:52:35 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:34 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 07/11] tipc: use SPDX Date: Wed, 11 Jan 2023 10:52:23 -0800 Message-Id: <20230111185227.69093-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace boilerplate GPL text with SPDX Signed-off-by: Stephen Hemminger --- tipc/bearer.c | 6 +----- tipc/bearer.h | 6 +----- tipc/cmdl.c | 6 +----- tipc/cmdl.h | 6 +----- tipc/link.c | 6 +----- tipc/link.h | 6 +----- tipc/media.c | 6 +----- tipc/media.h | 6 +----- tipc/misc.c | 6 +----- tipc/misc.h | 6 +----- tipc/msg.c | 6 +----- tipc/msg.h | 6 +----- tipc/nametable.c | 6 +----- tipc/nametable.h | 6 +----- tipc/node.c | 6 +----- tipc/node.h | 6 +----- tipc/peer.c | 6 +----- tipc/peer.h | 6 +----- tipc/socket.c | 6 +----- tipc/socket.h | 6 +----- tipc/tipc.c | 6 +----- 21 files changed, 21 insertions(+), 105 deletions(-) diff --git a/tipc/bearer.c b/tipc/bearer.c index 968293bc9160..bb434f5f74bc 100644 --- a/tipc/bearer.c +++ b/tipc/bearer.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * bearer.c TIPC bearer functionality. * - * 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: Richard Alpe */ diff --git a/tipc/bearer.h b/tipc/bearer.h index c0d099630b27..a93446592b26 100644 --- a/tipc/bearer.h +++ b/tipc/bearer.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * bearer.h TIPC bearer functionality. * - * 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: Richard Alpe */ diff --git a/tipc/cmdl.c b/tipc/cmdl.c index feaac2da175f..152ddb517ebb 100644 --- a/tipc/cmdl.c +++ b/tipc/cmdl.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cmdl.c Framework for handling command line options. * - * 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: Richard Alpe */ diff --git a/tipc/cmdl.h b/tipc/cmdl.h index dcade362e692..18fe51bf24a7 100644 --- a/tipc/cmdl.h +++ b/tipc/cmdl.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cmdl.h Framework for handling command line options. * - * 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: Richard Alpe */ diff --git a/tipc/link.c b/tipc/link.c index 53f49c8937db..f91c300016f2 100644 --- a/tipc/link.c +++ b/tipc/link.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * link.c TIPC link functionality. * - * 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: Richard Alpe */ diff --git a/tipc/link.h b/tipc/link.h index 6dc95e5b69b9..a0d4603580c5 100644 --- a/tipc/link.h +++ b/tipc/link.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * link.c TIPC link functionality. * - * 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: Richard Alpe */ diff --git a/tipc/media.c b/tipc/media.c index a3fec681cbf4..5ff0c8c489f1 100644 --- a/tipc/media.c +++ b/tipc/media.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * media.c TIPC link functionality. * - * 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: Richard Alpe */ diff --git a/tipc/media.h b/tipc/media.h index 8584af74b72e..f1b4b54055a2 100644 --- a/tipc/media.h +++ b/tipc/media.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * media.h TIPC link functionality. * - * 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: Richard Alpe */ diff --git a/tipc/misc.c b/tipc/misc.c index 6175bf07d07c..32d4a5e0b1d1 100644 --- a/tipc/misc.c +++ b/tipc/misc.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * misc.c Miscellaneous TIPC helper 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: Richard Alpe */ diff --git a/tipc/misc.h b/tipc/misc.h index 59309f68f201..d00d7c9caa2b 100644 --- a/tipc/misc.h +++ b/tipc/misc.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * misc.h Miscellaneous TIPC helper 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: Richard Alpe */ diff --git a/tipc/msg.c b/tipc/msg.c index 1225691c9a81..731b0fa76784 100644 --- a/tipc/msg.c +++ b/tipc/msg.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * msg.c Messaging (netlink) helper 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: Richard Alpe */ diff --git a/tipc/msg.h b/tipc/msg.h index 56af5a705fb9..118a26647559 100644 --- a/tipc/msg.h +++ b/tipc/msg.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * msg.h Messaging (netlink) helper 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: Richard Alpe */ diff --git a/tipc/nametable.c b/tipc/nametable.c index b09ed5fc7280..5162f7fcf479 100644 --- a/tipc/nametable.c +++ b/tipc/nametable.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * nametable.c TIPC nametable functionality. * - * 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: Richard Alpe */ diff --git a/tipc/nametable.h b/tipc/nametable.h index e0473e18e75b..c4df8d9d209a 100644 --- a/tipc/nametable.h +++ b/tipc/nametable.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * nametable.h TIPC nametable functionality. * - * 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: Richard Alpe */ diff --git a/tipc/node.c b/tipc/node.c index bf592a074635..e645d374cd82 100644 --- a/tipc/node.c +++ b/tipc/node.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * node.c TIPC node functionality. * - * 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: Richard Alpe */ diff --git a/tipc/node.h b/tipc/node.h index afee1fd06039..4a986d078bfb 100644 --- a/tipc/node.h +++ b/tipc/node.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * node.h TIPC node functionality. * - * 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: Richard Alpe */ diff --git a/tipc/peer.c b/tipc/peer.c index ed18efc552fa..5a583fb9185e 100644 --- a/tipc/peer.c +++ b/tipc/peer.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * peer.c TIPC peer functionality. * - * 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: Richard Alpe */ diff --git a/tipc/peer.h b/tipc/peer.h index 89722616529e..2bd0a2a37b15 100644 --- a/tipc/peer.h +++ b/tipc/peer.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * peer.h TIPC peer functionality. * - * 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: Richard Alpe */ diff --git a/tipc/socket.c b/tipc/socket.c index 597ffd91af52..4d376e075885 100644 --- a/tipc/socket.c +++ b/tipc/socket.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * socket.c TIPC socket functionality. * - * 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: Richard Alpe */ diff --git a/tipc/socket.h b/tipc/socket.h index 9d1b64872f53..c4341bb213d6 100644 --- a/tipc/socket.h +++ b/tipc/socket.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * socket.h TIPC socket functionality. * - * 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: Richard Alpe */ diff --git a/tipc/tipc.c b/tipc/tipc.c index 9f23a4bfd25d..56af052cbbcd 100644 --- a/tipc/tipc.c +++ b/tipc/tipc.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tipc. TIPC 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: Richard Alpe */ From patchwork Wed Jan 11 18:52:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097105 X-Patchwork-Delegate: stephen@networkplumber.org 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 165F3C46467 for ; Wed, 11 Jan 2023 18:53:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239124AbjAKSw7 (ORCPT ); Wed, 11 Jan 2023 13:52:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238611AbjAKSwi (ORCPT ); Wed, 11 Jan 2023 13:52:38 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 126ED3D1E8 for ; Wed, 11 Jan 2023 10:52:37 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id jl4so17731498plb.8 for ; Wed, 11 Jan 2023 10:52:37 -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=QTIDmb64m6AEUf4Y7zL+qw9wvZsnktFS4l2duhJJc1w=; b=tYG4Zw9W1TT4f7xm5sfvU+zVON1tQZrhhf/JgHt3UdydjBLKIM5ReEHAf5fqEufeir bmUB+LZo0GBx+9tbJjgxInk4kRX3fSZrMUx8wGeqcs4xT4XGxdFqkMcWltXg5YSlWHHy c+mjeed0S5hEOp13VzXZPlidfOZmzA2ZhaT+ITrPJe20rgdLrRep+mFYyU0+algtZ+Wc Tr0VludJr3ALzEYlx4hfkLD5rzmdsqLDChRMPv7rorgWkG83yjlLDrhmkMBS7CCQ+HWH zMH1+XJb9ciIUKyzoAajhA2l/uTCqNg3rRI0Ykpv2jGOtNlxEY9RW1rCbWSWFzxlj9A7 6Zhw== 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=QTIDmb64m6AEUf4Y7zL+qw9wvZsnktFS4l2duhJJc1w=; b=tblOKp3mXsPzQ+4l2jkkih0CXMZeSaVH2LSc9Ggud0bOrxTzZbHyszy65//xb/9O3e 0cOPRTDdeGzYg6MG1XK+7S+Vv6pJeldnMaxDSfpGk8/7+TyvXcuTKbYrQWGQo9Teua7H ZAlgv0OQC9ZBWgNnJgmUpfL6lcPHtAbyICK7jf+Qa5PzeQSg4KTF6dX0WF1PuJrs9xhZ oVOeY+XC1eg8X1365vWjqxc7KmMn7KaQeZryqSnIc9CxiZ/8nL5gGQQcXVy6vQ9mEVde 5Y3GaQzorC5MyihcM596bLfM43y4yJxAhB7rYpVbHvpLCczdMXOrlqYk+dW7paFihp8V zgyg== X-Gm-Message-State: AFqh2kocBY4GPLApCMqAxFL3ie2TDwATIWMsbsahi+LwEw0B9ROumWE6 /fq6kD5ZB/xqsQNfsCQ+v0buRhPya5EjQ9Pishk= X-Google-Smtp-Source: AMrXdXsNtHY4LWR07z6reC7MAzbceH9IZXeNtmcnh/gglB5a5kJXZOWLxpPey/fVnpFbHi9rrxK4Bg== X-Received: by 2002:a05:6a20:988a:b0:ad:79bb:7485 with SMTP id jk10-20020a056a20988a00b000ad79bb7485mr69594340pzb.11.1673463156278; Wed, 11 Jan 2023 10:52:36 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:35 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 08/11] tc: replace GPL-BSD boilerplate in codel and fq Date: Wed, 11 Jan 2023 10:52:24 -0800 Message-Id: <20230111185227.69093-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Replace legal boilerplate with SPDX instead. These algorithms are dual licensed. Signed-off-by: Stephen Hemminger --- tc/q_codel.c | 32 +------------------------------- tc/q_fq.c | 32 +------------------------------- tc/q_fq_codel.c | 32 +------------------------------- 3 files changed, 3 insertions(+), 93 deletions(-) diff --git a/tc/q_codel.c b/tc/q_codel.c index c72a5779ba3b..03b6f92f117c 100644 --- a/tc/q_codel.c +++ b/tc/q_codel.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Codel - The Controlled-Delay Active Queue Management algorithm * @@ -5,37 +6,6 @@ * Copyright (C) 2011-2012 Van Jacobson * Copyright (C) 2012 Michael D. Taht * Copyright (C) 2012,2015 Eric Dumazet - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The names of the authors may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, provided that this notice is retained in full, this - * software may be distributed under the terms of the GNU General - * Public License ("GPL") version 2, in which case the provisions of the - * GPL apply INSTEAD OF those given above. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * */ #include diff --git a/tc/q_fq.c b/tc/q_fq.c index 8dbfc41a1e05..0589800af0ea 100644 --- a/tc/q_fq.c +++ b/tc/q_fq.c @@ -1,38 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Fair Queue * * Copyright (C) 2013-2015 Eric Dumazet - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The names of the authors may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, provided that this notice is retained in full, this - * software may be distributed under the terms of the GNU General - * Public License ("GPL") version 2, in which case the provisions of the - * GPL apply INSTEAD OF those given above. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * */ #include diff --git a/tc/q_fq_codel.c b/tc/q_fq_codel.c index b7552e294fd0..9c9d7bc132a3 100644 --- a/tc/q_fq_codel.c +++ b/tc/q_fq_codel.c @@ -1,38 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * Fair Queue Codel * * Copyright (C) 2012,2015 Eric Dumazet - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The names of the authors may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, provided that this notice is retained in full, this - * software may be distributed under the terms of the GNU General - * Public License ("GPL") version 2, in which case the provisions of the - * GPL apply INSTEAD OF those given above. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH - * DAMAGE. - * */ #include From patchwork Wed Jan 11 18:52:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097108 X-Patchwork-Delegate: stephen@networkplumber.org 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 EADEDC5479D for ; Wed, 11 Jan 2023 18:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239063AbjAKSxI (ORCPT ); Wed, 11 Jan 2023 13:53:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238657AbjAKSwq (ORCPT ); Wed, 11 Jan 2023 13:52:46 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F073D5C5 for ; Wed, 11 Jan 2023 10:52:39 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id y1so17754744plb.2 for ; Wed, 11 Jan 2023 10:52:39 -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=seQBv597aySKCSnQbv5mdUEhyvgG5REi9mmE1tug4Cs=; b=5vSOFQ70YV6TaL7lizmKURQ55xDbLQYdUIX9lOQ2m1KXxK5cfzotawfXVsYGc68j/P 9cqugqY7UgegrsZU0xdehoY3CodV6cGWYYJQWG5GV/CUjedArjP9ZgcF2e0DNgeVkdRy +4v1DWIwQFyR8nXsCQEqNCdjSeP4fe15UxBDmjQ1HcSFpiuEGFKjzoxokjnGSSiYXd7X RxCL1WB1wiJHb2xTQWmilgTcprImhwrrY9NR1VCUDgLBG6GPpG7yIC3uKB3VsAKj5Yng 2LRBOkRppJ4Mv86ggA9xCQuQSCQz8R2MLC68vQVGDuOFmxZVa3yB3F5m0ziaSh4OLpbV kP2w== 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=seQBv597aySKCSnQbv5mdUEhyvgG5REi9mmE1tug4Cs=; b=JbUmEl9REi2E8I5IurJYGfSMot8AQbaCkQRgoZ3ZP9RZy73ILVPNdQJAOoiAfQRTT0 gspN8Bkv7IxMDL7Pg56WqRSBfweHLwyxm/qR/veYrG86pcSpqBc7KBUgg1uPPnQ972G3 maYETrdPSKsE88goRktJsBdeiUgYQ6YT4kZnyecoM6ZwRHrgSboZVXMoDuSzdo3Semdc LrI3Miyo9BERa/p3gu0+vNvZ9EF99u+9echDRIGHtRJQdQEfEZIkUMYHkJv2FcR2CwyJ GD+08814pgPtF49tsUMPiCZKWE8Q3KnWigevExevAMrtPceLLof/jGESmi8ERLoZtJDI RLRg== X-Gm-Message-State: AFqh2kq9P0iZKqm44g/VKDFJDyIK8KGCWjOKDfw263NT0zmV6vijbQ69 dIzL+day5oQYGaueru8xvF7JUHWhuvQ/V6bMkUg= X-Google-Smtp-Source: AMrXdXuF9pyaopcv0jMHTSnUYGmbT1Qxcpf7fD6APEcnMT/ZOvb2w3TxPq/l3vNOfERiOwzDh+QMKQ== X-Received: by 2002:a17:90a:d58a:b0:219:7d75:de7b with SMTP id v10-20020a17090ad58a00b002197d75de7bmr73923099pju.35.1673463157486; Wed, 11 Jan 2023 10:52:37 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:37 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 09/11] tc: use SPDX Date: Wed, 11 Jan 2023 10:52:25 -0800 Message-Id: <20230111185227.69093-10-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com 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/emp_ematch.y | 1 + 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_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(+), 467 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/emp_ematch.y b/tc/emp_ematch.y index 4da3daed095c..716877b6fc41 100644 --- a/tc/emp_ematch.y +++ b/tc/emp_ematch.y @@ -1,4 +1,5 @@ %{ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include #include #include 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_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 From patchwork Wed Jan 11 18:52:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097106 X-Patchwork-Delegate: stephen@networkplumber.org 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 55146C46467 for ; Wed, 11 Jan 2023 18:53:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239152AbjAKSxC (ORCPT ); Wed, 11 Jan 2023 13:53:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238632AbjAKSwl (ORCPT ); Wed, 11 Jan 2023 13:52:41 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66E3636313 for ; Wed, 11 Jan 2023 10:52:39 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id g23so2147833plq.12 for ; Wed, 11 Jan 2023 10:52:39 -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=MhXuqhaiQikdfV+g3gVkxxNyLpmfrWJY6QCud8NyIjw=; b=oSrhfWpP2Fz6U7Y65u44rNjGgWm0W4UPqgGBPfaXsfCYtWhngP8+zbjSiHLXv4ObtW Hdz/kQDPWXDejmaN3yHC/tcEVZqwE9tC3vkerBePwNG2Bf2jZh6r3x+5r6b2v1oKdjmn 1bwkH6ac9kjZ29/FxsBqx4Wyxetpi75WXTh8+1oIpkHkBVOlpIpcT9KU9WZKnAh6MQpu LYn1qaidkw8C/Hb2ksO4o/hFgBq8DP/S3gvRjtM7xzP4RH1QUzNa15TTI1Yn7YUY4CuN 5cyco1AVzLs2o7EsxZeI53dMN4WqNZ9LZUzB9C+Pu8/Ul+OZGv67d5GSOuK5hllt8OSM rmng== 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=MhXuqhaiQikdfV+g3gVkxxNyLpmfrWJY6QCud8NyIjw=; b=Sx/hoXEl+WfDnLGLloqRwquL8Colbc2fAqy85B+WdboCSzDgzBm45R+yltcGs8Knx/ dLyZcbKf+nBDPHuvw1KbA5k7OXvnhaVJWNQKOKnS3alN30PyUgAIqXT+zW4872MZraZL 3QZGUrl9xBaVAY4kqIyxu9e7UmKJ1d3lnJBv1ZvHtFvc2Tkcx91eU4cFxXkcQPnpKnwZ gRJNBIA06dj/rbOdjue2vUGhpABiWeJaBRxirPmiX/KPN/m0t0sFg8IOvbj5uLEc21Be ZhkrCh9Bo1GRKFxigvlsBjSMuGxyBLqD9rgSJUYzJqgASOnW5pj43c9/hSgLziZNMoCI 2ESg== X-Gm-Message-State: AFqh2koy2OlplvkjOOMW9A8uvuue5sZzsxirR5ojL+2c502d5vHVht44 uJ4Ge8vUL7IeRkPfjigr5X9GXtyAAkpyd0HfIrg= X-Google-Smtp-Source: AMrXdXvjWMmZrzSG1rxfPuIyHN3a05PKY3C+Ni1fK8y3wQSk/VVlYCBh08M9wHQgc3Bbq09qn+UpvA== X-Received: by 2002:a05:6a20:b213:b0:a7:8b3e:1207 with SMTP id eh19-20020a056a20b21300b000a78b3e1207mr3690737pzb.13.1673463158459; Wed, 11 Jan 2023 10:52:38 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:38 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 10/11] misc: use SPDX Date: Wed, 11 Jan 2023 10:52:26 -0800 Message-Id: <20230111185227.69093-11-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Use SPDX tag instead of GPL boilerplate. Signed-off-by: Stephen Hemminger --- misc/arpd.c | 6 +----- misc/ifstat.c | 6 +----- misc/lnstat.c | 7 +------ misc/lnstat_util.c | 7 +------ misc/nstat.c | 6 +----- misc/rtacct.c | 7 +------ misc/ss.c | 6 +----- misc/ss_util.h | 1 + misc/ssfilter.h | 1 + misc/ssfilter.y | 1 + misc/ssfilter_check.c | 1 + 11 files changed, 11 insertions(+), 38 deletions(-) diff --git a/misc/arpd.c b/misc/arpd.c index 504961cb5e3a..1ef837c61581 100644 --- a/misc/arpd.c +++ b/misc/arpd.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * arpd.c ARP helper daemon. * - * 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, */ diff --git a/misc/ifstat.c b/misc/ifstat.c index 291f288b3752..4ce5ca8af4e7 100644 --- a/misc/ifstat.c +++ b/misc/ifstat.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ifstat.c handy utility to read net interface statistics * - * 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, */ diff --git a/misc/lnstat.c b/misc/lnstat.c index c3293a8eb12f..c3f2999cc255 100644 --- a/misc/lnstat.c +++ b/misc/lnstat.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* lnstat - Unified linux network statistics * * Copyright (C) 2004 by Harald Welte @@ -8,12 +9,6 @@ * * Copyright 2001 by Robert Olsson * Uppsala University, Sweden - * - * 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. - * */ /* Maximum number of fields that can be displayed */ diff --git a/misc/lnstat_util.c b/misc/lnstat_util.c index c2dc42ec1ff1..3f53e91afbf8 100644 --- a/misc/lnstat_util.c +++ b/misc/lnstat_util.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* lnstat.c: Unified linux network statistics * * Copyright (C) 2004 by Harald Welte @@ -8,12 +9,6 @@ * * Copyright 2001 by Robert Olsson * Uppsala University, Sweden - * - * 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. - * */ #include diff --git a/misc/nstat.c b/misc/nstat.c index 7160c59be222..0ab92ecbeb47 100644 --- a/misc/nstat.c +++ b/misc/nstat.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * nstat.c handy utility to read counters /proc/net/netstat and snmp * - * 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, */ diff --git a/misc/rtacct.c b/misc/rtacct.c index 47b27e3fd88d..08363bfd4f26 100644 --- a/misc/rtacct.c +++ b/misc/rtacct.c @@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * rtacct.c Applet to display contents of /proc/net/rt_acct. * - * 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/misc/ss.c b/misc/ss.c index ccfa9fa9ef8e..de02fccb539b 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ss.c "sockstat", socket statistics * - * 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, */ diff --git a/misc/ss_util.h b/misc/ss_util.h index f7e40bb9b93c..37936c6623ea 100644 --- a/misc/ss_util.h +++ b/misc/ss_util.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __SS_UTIL_H__ #define __SS_UTIL_H__ diff --git a/misc/ssfilter.h b/misc/ssfilter.h index 0be3b1e03b9f..73e55e042b6b 100644 --- a/misc/ssfilter.h +++ b/misc/ssfilter.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include enum { diff --git a/misc/ssfilter.y b/misc/ssfilter.y index 8e16b44638f6..3195723b2277 100644 --- a/misc/ssfilter.y +++ b/misc/ssfilter.y @@ -1,4 +1,5 @@ %{ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include #include diff --git a/misc/ssfilter_check.c b/misc/ssfilter_check.c index 38c960c1bc91..a188bb346999 100644 --- a/misc/ssfilter_check.c +++ b/misc/ssfilter_check.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include #include #include From patchwork Wed Jan 11 18:52:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 13097107 X-Patchwork-Delegate: stephen@networkplumber.org 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 9A9F6C54EBC for ; Wed, 11 Jan 2023 18:53:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238781AbjAKSxD (ORCPT ); Wed, 11 Jan 2023 13:53:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238633AbjAKSwl (ORCPT ); Wed, 11 Jan 2023 13:52:41 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AAAD3D1D5 for ; Wed, 11 Jan 2023 10:52:40 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id c6so17754411pls.4 for ; Wed, 11 Jan 2023 10:52:40 -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=OLSabfIaVF9fDMHORSlaf8YoAUasv6/RH4gjuNRf70U=; b=Zeh9EdunMXLN0vZpC7ZVIHzltFGLWAidQ7aMghlV7io/qhqRcGUDdLy8+K1CXm8oPo PgLXcF537hy31mDP4PGkOueMdiSGXWOQy3uQEyVDL3JnWcCmey1HLf7duDMpEPhBMCeJ BM95ozeAM7IqvDy7k8kPgkHddFtcKWJNd4R6Bm9WZ5N9Ox3vfRWngAHlyv0clJ6jSY53 2gB9u+VUaYpdZyCYsWJhK+m1hWDL/RtJrdhua9fu8wtpAXE+rJkYaztXdXtKgdnUW0DW jmEpypFKR8H07Onnc371GRF5VXjuX7O+B6WyRMbnoGVeftb6lr8bd+JmIPtTkl1OnrSQ aNtg== 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=OLSabfIaVF9fDMHORSlaf8YoAUasv6/RH4gjuNRf70U=; b=vBsAdg1MbVEoQXfbMGh0/3/qOpb37ddPB2lgVhDWQXKBx0HerPIyoUfBp5xo5wq8pu X7GQpCVT6Jo87gRBZDgq6vmT4mfXMkXMmXg+7jyzXAGFOxBDuaLacG450kBldZ0SDE3h FRRCDpy8pwiS3DhlnwCwkgKwxfnrsFPbRDXvvqErNMrQehpVCx4tXMLc2DO1DxLmy0HN xNp/hzPiYSFyX75UYcom2cERBB46LTu0Dfin8MRHDToIOS0lF9haUFFaoLXiGQL8zgP9 r6KUNy4tQ6awWSn9PfOz5E9GjYTIbQK4xWOPngam6tE3hgvIuKy0ZqaZvzHJfEaD/3/I xTpw== X-Gm-Message-State: AFqh2kpfxSc47TUv5Khaux+tEosUhUbnoTWRNmg84IIW07q43yiKIzXA fRDK8w8OI6jYNNkH30IYmJny/e8HFzqZLf+RvQI= X-Google-Smtp-Source: AMrXdXtPYfFD641sP1qIg7TZyFIuunrcG2rCZoZKdpuSVH5h5YnhjYTr2rye7fU1Z8CrgOfgPNnKWg== X-Received: by 2002:a05:6a20:2a96:b0:b2:5cf9:817b with SMTP id v22-20020a056a202a9600b000b25cf9817bmr118628643pzh.5.1673463159481; Wed, 11 Jan 2023 10:52:39 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020a631d47000000b004a849d3d9c2sm8650447pgm.22.2023.01.11.10.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 10:52:38 -0800 (PST) From: Stephen Hemminger To: netdev@vger.kernel.org Cc: Stephen Hemminger Subject: [PATCH v2 iproute2 11/11] netem: add SPDX license header Date: Wed, 11 Jan 2023 10:52:27 -0800 Message-Id: <20230111185227.69093-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230111185227.69093-1-stephen@networkplumber.org> References: <20230111185227.69093-1-stephen@networkplumber.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com The netem directory contains code to generate tables for netem. This code came from NISTnet which was public domain. Add appropriate license tag. Signed-off-by: Stephen Hemminger --- netem/maketable.c | 1 + netem/normal.c | 1 + netem/pareto.c | 1 + netem/paretonormal.c | 1 + netem/stats.c | 1 + 5 files changed, 5 insertions(+) diff --git a/netem/maketable.c b/netem/maketable.c index ccb8f0c68b06..ad8620a47ce2 100644 --- a/netem/maketable.c +++ b/netem/maketable.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: NIST-PD */ /* * Experimental data distribution table generator * Taken from the uncopyrighted NISTnet code (public domain). diff --git a/netem/normal.c b/netem/normal.c index 90963f4e91a4..5414be41fa52 100644 --- a/netem/normal.c +++ b/netem/normal.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: NIST-PD */ /* * Normal distribution table generator * Taken from the uncopyrighted NISTnet code. diff --git a/netem/pareto.c b/netem/pareto.c index 51d9437dbcb2..5c802c902baa 100644 --- a/netem/pareto.c +++ b/netem/pareto.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: NIST-PD */ /* * Pareto distribution table generator * Taken from the uncopyrighted NISTnet code. diff --git a/netem/paretonormal.c b/netem/paretonormal.c index 9773e370e6bc..c36e325fcd2b 100644 --- a/netem/paretonormal.c +++ b/netem/paretonormal.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: NIST-PD */ /* * Paretoormal distribution table generator * diff --git a/netem/stats.c b/netem/stats.c index ed70f1676342..99c4feedfa6f 100644 --- a/netem/stats.c +++ b/netem/stats.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: NIST-PD */ /* * Experimental data distribution table generator * Taken from the uncopyrighted NISTnet code (public domain).