netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 8/9] tools: bpftool: Cleanup license mess
       [not found] <20190117231416.111952141@linutronix.de>
@ 2019-01-17 23:14 ` Thomas Gleixner
  2019-01-17 23:24   ` Jakub Kicinski
  2019-01-18 23:28   ` Alexei Starovoitov
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Gleixner @ 2019-01-17 23:14 UTC (permalink / raw)
  To: LKML
  Cc: Greg Kroah-Hartman, Kate Stewart, Jonathan Corbet,
	Jakub Kicinski, Roman Gushchin, YueHaibing, Yonghong Song,
	Stanislav Fomichev, Sean Young, Jiri Benc, David Calavera,
	Andrey Ignatov, Joe Stringer, David Ahern, Alexei Starovoitov,
	Petar Penkov, Sandipan Das, Prashant Bhole, Stephen Hemminger,
	John Fastabend, Taeung Song, Jiri Olsa, Alexei Starovoitov,
	Daniel Borkmann, Quentin Monnet, okash.khawaja, netdev

Precise and non-ambiguous license information is important. The recent
relicensing of the bpftools introduced a license conflict.

The files have now:

     SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause

and

     * 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

Amazingly about 20 people acked that change and neither they nor the
committer noticed. Oh well.

Digging deeper: The files were imported from the iproute2 repository with
the GPL V2 or later boiler plate text in commit b66e907cfee2 ("tools:
bpftool: copy JSON writer from iproute2 repository")

Looking at the iproute2 repository at

  git://git.kernel.org/pub/scm/network/iproute2/iproute2.git

the following commit is the equivivalent:

  commit d9d8c839 ("json_writer: add SPDX Identifier (GPL-2/BSD-2)")

That commit explicitly removes the boiler plate and relicenses the code
uner GPL-2.0-only and BSD-2-Clause. As Steven wrote the original code and
also the relicensing commit, it's assumed that the relicensing was intended
to do exaclty that. Just the kernel side update failed to remove the boiler
plate. Do so now.

Fixes: 907b22365115 ("tools: bpftool: dual license all files")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: YueHaibing <yuehaibing@huawei.com>
Cc: Yonghong Song <yhs@fb.com>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: Sean Young <sean@mess.org>
Cc: Jiri Benc <jbenc@redhat.com>
Cc: David Calavera <david.calavera@gmail.com>
Cc: Andrey Ignatov <rdna@fb.com>
Cc: Joe Stringer <joe@wand.net.nz>
Cc: David Ahern <dsahern@gmail.com>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Petar Penkov <ppenkov@stanford.edu>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Taeung Song <treeze.taeung@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Quentin Monnet <quentin.monnet@netronome.com>
CC: okash.khawaja@gmail.com
Cc: netdev@vger.kernel.org
---

P.S.: This patch is part of a larger cleanup, but independent of other
      patches and is intended to be picked up by the maintainer directly.

---
 tools/bpf/bpftool/json_writer.c |    7 +------
 tools/bpf/bpftool/json_writer.h |    5 -----
 2 files changed, 1 insertion(+), 11 deletions(-)

--- a/tools/bpf/bpftool/json_writer.c
+++ b/tools/bpf/bpftool/json_writer.c
@@ -1,15 +1,10 @@
-// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
 /*
  * Simple streaming JSON writer
  *
  * This takes care of the annoying bits of JSON syntax like the commas
  * after elements
  *
- * 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 <stephen@networkplumber.org>
  */
 
--- a/tools/bpf/bpftool/json_writer.h
+++ b/tools/bpf/bpftool/json_writer.h
@@ -5,11 +5,6 @@
  * This takes care of the annoying bits of JSON syntax like the commas
  * after elements
  *
- * 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 <stephen@networkplumber.org>
  */
 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch 8/9] tools: bpftool: Cleanup license mess
  2019-01-17 23:14 ` [patch 8/9] tools: bpftool: Cleanup license mess Thomas Gleixner
@ 2019-01-17 23:24   ` Jakub Kicinski
  2019-01-18  0:00     ` Thomas Gleixner
  2019-01-18 23:28   ` Alexei Starovoitov
  1 sibling, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2019-01-17 23:24 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: LKML, Greg Kroah-Hartman, Kate Stewart, Jonathan Corbet,
	Roman Gushchin, YueHaibing, Yonghong Song, Stanislav Fomichev,
	Sean Young, Jiri Benc, David Calavera, Andrey Ignatov,
	Joe Stringer, David Ahern, Alexei Starovoitov, Petar Penkov,
	Sandipan Das, Prashant Bhole, Stephen Hemminger, John Fastabend,
	Taeung Song, Jiri Olsa, Alexei Starovoitov, Daniel Borkmann,
	Quentin Monnet, okash.khawaja, netdev

On Fri, 18 Jan 2019 00:14:24 +0100, Thomas Gleixner wrote:
> Precise and non-ambiguous license information is important. The recent
> relicensing of the bpftools introduced a license conflict.
> 
> The files have now:
> 
>      SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause
> 
> and
> 
>      * 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
> 
> Amazingly about 20 people acked that change and neither they nor the
> committer noticed. Oh well.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>

Sorry about that!  

These files as you found out are from Stephen, so we probably don't
need the full litany of acks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch 8/9] tools: bpftool: Cleanup license mess
  2019-01-17 23:24   ` Jakub Kicinski
@ 2019-01-18  0:00     ` Thomas Gleixner
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Gleixner @ 2019-01-18  0:00 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: LKML, Greg Kroah-Hartman, Kate Stewart, Jonathan Corbet,
	Roman Gushchin, YueHaibing, Yonghong Song, Stanislav Fomichev,
	Sean Young, Jiri Benc, David Calavera, Andrey Ignatov,
	Joe Stringer, David Ahern, Alexei Starovoitov, Petar Penkov,
	Sandipan Das, Prashant Bhole, Stephen Hemminger, John Fastabend,
	Taeung Song, Jiri Olsa, Alexei Starovoitov, Daniel Borkmann,
	Quentin Monnet, okash.khawaja, netdev

On Thu, 17 Jan 2019, Jakub Kicinski wrote:

> On Fri, 18 Jan 2019 00:14:24 +0100, Thomas Gleixner wrote:
> > Precise and non-ambiguous license information is important. The recent
> > relicensing of the bpftools introduced a license conflict.
> > 
> > The files have now:
> > 
> >      SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause
> > 
> > and
> > 
> >      * 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
> > 
> > Amazingly about 20 people acked that change and neither they nor the
> > committer noticed. Oh well.
> 
> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
> 
> Sorry about that!  
> 
> These files as you found out are from Stephen, so we probably don't
> need the full litany of acks.

I agree. I cc'ed everyone just to make them aware that licensing is not
just an annoyance. It's a important part of the project and it has legal
implications - in the worst case on the personal level. We already have an
unholy mess in that area, so we really need everybody to take it serious.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch 8/9] tools: bpftool: Cleanup license mess
  2019-01-17 23:14 ` [patch 8/9] tools: bpftool: Cleanup license mess Thomas Gleixner
  2019-01-17 23:24   ` Jakub Kicinski
@ 2019-01-18 23:28   ` Alexei Starovoitov
  1 sibling, 0 replies; 4+ messages in thread
From: Alexei Starovoitov @ 2019-01-18 23:28 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: LKML, Greg Kroah-Hartman, Kate Stewart, Jonathan Corbet,
	Jakub Kicinski, Roman Gushchin, YueHaibing, Yonghong Song,
	Stanislav Fomichev, Sean Young, Jiri Benc, David Calavera,
	Andrey Ignatov, Joe Stringer, David Ahern, Petar Penkov,
	Sandipan Das, Prashant Bhole, Stephen Hemminger, John Fastabend,
	Taeung Song, Jiri Olsa, Alexei Starovoitov, Daniel Borkmann,
	Quentin Monnet, okash.khawaja, netdev

On Fri, Jan 18, 2019 at 12:14:24AM +0100, Thomas Gleixner wrote:
> Precise and non-ambiguous license information is important. The recent
> relicensing of the bpftools introduced a license conflict.
> 
> The files have now:
> 
>      SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause
> 
> and
> 
>      * 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
> 
> Amazingly about 20 people acked that change and neither they nor the
> committer noticed. Oh well.
> 
> Digging deeper: The files were imported from the iproute2 repository with
> the GPL V2 or later boiler plate text in commit b66e907cfee2 ("tools:
> bpftool: copy JSON writer from iproute2 repository")
> 
> Looking at the iproute2 repository at
> 
>   git://git.kernel.org/pub/scm/network/iproute2/iproute2.git
> 
> the following commit is the equivivalent:
> 
>   commit d9d8c839 ("json_writer: add SPDX Identifier (GPL-2/BSD-2)")
> 
> That commit explicitly removes the boiler plate and relicenses the code
> uner GPL-2.0-only and BSD-2-Clause. As Steven wrote the original code and
> also the relicensing commit, it's assumed that the relicensing was intended
> to do exaclty that. Just the kernel side update failed to remove the boiler
> plate. Do so now.
> 
> Fixes: 907b22365115 ("tools: bpftool: dual license all files")
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
> Cc: Roman Gushchin <guro@fb.com>
> Cc: YueHaibing <yuehaibing@huawei.com>
> Cc: Yonghong Song <yhs@fb.com>
> Cc: Stanislav Fomichev <sdf@google.com>
> Cc: Sean Young <sean@mess.org>
> Cc: Jiri Benc <jbenc@redhat.com>
> Cc: David Calavera <david.calavera@gmail.com>
> Cc: Andrey Ignatov <rdna@fb.com>
> Cc: Joe Stringer <joe@wand.net.nz>
> Cc: David Ahern <dsahern@gmail.com>
> Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
> Cc: Petar Penkov <ppenkov@stanford.edu>
> Cc: Sandipan Das <sandipan@linux.ibm.com>
> Cc: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Cc: John Fastabend <john.fastabend@gmail.com>
> Cc: Taeung Song <treeze.taeung@gmail.com>
> Cc: Jiri Olsa <jolsa@kernel.org>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Quentin Monnet <quentin.monnet@netronome.com>
> CC: okash.khawaja@gmail.com
> Cc: netdev@vger.kernel.org
> ---
> 
> P.S.: This patch is part of a larger cleanup, but independent of other
>       patches and is intended to be picked up by the maintainer directly.

Applied this patch to bpf tree.
Sorry about this mess.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-18 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190117231416.111952141@linutronix.de>
2019-01-17 23:14 ` [patch 8/9] tools: bpftool: Cleanup license mess Thomas Gleixner
2019-01-17 23:24   ` Jakub Kicinski
2019-01-18  0:00     ` Thomas Gleixner
2019-01-18 23:28   ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).