All of lore.kernel.org
 help / color / mirror / Atom feed
* netfilter: xtables: Bring SPDX identifier back
@ 2022-06-06 15:23 Thomas Gleixner
  2022-06-06 15:34 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2022-06-06 15:23 UTC (permalink / raw)
  To: netfilter-devel
  Cc: linux-spdx, Manoj Basapathi, Subash Abhinov Kasiviswanathan,
	Pablo Neira Ayuso, netfilter-devel

Commit e2be04c7f995 ("License cleanup: add SPDX license identifier to
uapi header files with a license") added the correct SPDX identifier to
include/uapi/linux/netfilter/xt_IDLETIMER.h.

A subsequent commit removed it for no reason and reintroduced the UAPI
license incorrectness as the file is now missing the UAPI exception
again.

Add it back and remove the GPLv2 boilerplate while at it.

Fixes: 68983a354a65 ("netfilter: xtables: Add snapshot of hardidletimer target")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Manoj Basapathi <manojbm@codeaurora.org>
Cc: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
---
 include/uapi/linux/netfilter/xt_IDLETIMER.h |   17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

--- a/include/uapi/linux/netfilter/xt_IDLETIMER.h
+++ b/include/uapi/linux/netfilter/xt_IDLETIMER.h
@@ -1,6 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
 /*
- * linux/include/linux/netfilter/xt_IDLETIMER.h
- *
  * Header file for Xtables timer target module.
  *
  * Copyright (C) 2004, 2010 Nokia Corporation
@@ -10,20 +9,6 @@
  * by Luciano Coelho <luciano.coelho@nokia.com>
  *
  * Contact: Luciano Coelho <luciano.coelho@nokia.com>
- *
- * 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.
- *
- * 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, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
  */
 
 #ifndef _XT_IDLETIMER_H

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

* Re: netfilter: xtables: Bring SPDX identifier back
  2022-06-06 15:23 netfilter: xtables: Bring SPDX identifier back Thomas Gleixner
@ 2022-06-06 15:34 ` Pablo Neira Ayuso
  2022-06-06 16:56   ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2022-06-06 15:34 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: netfilter-devel, linux-spdx, Manoj Basapathi,
	Subash Abhinov Kasiviswanathan

On Mon, Jun 06, 2022 at 05:23:45PM +0200, Thomas Gleixner wrote:
> Commit e2be04c7f995 ("License cleanup: add SPDX license identifier to
> uapi header files with a license") added the correct SPDX identifier to
> include/uapi/linux/netfilter/xt_IDLETIMER.h.
> 
> A subsequent commit removed it for no reason and reintroduced the UAPI
> license incorrectness as the file is now missing the UAPI exception
> again.
> 
> Add it back and remove the GPLv2 boilerplate while at it.

LGTM.

You handle this or I place this in the nf.git tree?

Thanks

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

* Re: netfilter: xtables: Bring SPDX identifier back
  2022-06-06 15:34 ` Pablo Neira Ayuso
@ 2022-06-06 16:56   ` Greg KH
  2022-06-06 17:01     ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2022-06-06 16:56 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Thomas Gleixner, netfilter-devel, linux-spdx, Manoj Basapathi,
	Subash Abhinov Kasiviswanathan

On Mon, Jun 06, 2022 at 05:34:34PM +0200, Pablo Neira Ayuso wrote:
> On Mon, Jun 06, 2022 at 05:23:45PM +0200, Thomas Gleixner wrote:
> > Commit e2be04c7f995 ("License cleanup: add SPDX license identifier to
> > uapi header files with a license") added the correct SPDX identifier to
> > include/uapi/linux/netfilter/xt_IDLETIMER.h.
> > 
> > A subsequent commit removed it for no reason and reintroduced the UAPI
> > license incorrectness as the file is now missing the UAPI exception
> > again.
> > 
> > Add it back and remove the GPLv2 boilerplate while at it.
> 
> LGTM.
> 
> You handle this or I place this in the nf.git tree?

If you want to take it, that's fine with me, otherwise I can in a
spdx-specific tree that I manage.

Your choice, which ever is easier for you.

thanks,

greg k-h

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

* Re: netfilter: xtables: Bring SPDX identifier back
  2022-06-06 16:56   ` Greg KH
@ 2022-06-06 17:01     ` Pablo Neira Ayuso
  2022-06-06 17:10       ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2022-06-06 17:01 UTC (permalink / raw)
  To: Greg KH
  Cc: Thomas Gleixner, netfilter-devel, linux-spdx, Manoj Basapathi,
	Subash Abhinov Kasiviswanathan

On Mon, Jun 06, 2022 at 06:56:12PM +0200, Greg KH wrote:
> On Mon, Jun 06, 2022 at 05:34:34PM +0200, Pablo Neira Ayuso wrote:
> > On Mon, Jun 06, 2022 at 05:23:45PM +0200, Thomas Gleixner wrote:
> > > Commit e2be04c7f995 ("License cleanup: add SPDX license identifier to
> > > uapi header files with a license") added the correct SPDX identifier to
> > > include/uapi/linux/netfilter/xt_IDLETIMER.h.
> > > 
> > > A subsequent commit removed it for no reason and reintroduced the UAPI
> > > license incorrectness as the file is now missing the UAPI exception
> > > again.
> > > 
> > > Add it back and remove the GPLv2 boilerplate while at it.
> > 
> > LGTM.
> > 
> > You handle this or I place this in the nf.git tree?
> 
> If you want to take it, that's fine with me, otherwise I can in a
> spdx-specific tree that I manage.

I did not know there is a specific tree for this.

> Your choice, which ever is easier for you.

please take it

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

* Re: netfilter: xtables: Bring SPDX identifier back
  2022-06-06 17:01     ` Pablo Neira Ayuso
@ 2022-06-06 17:10       ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2022-06-06 17:10 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Thomas Gleixner, netfilter-devel, linux-spdx, Manoj Basapathi,
	Subash Abhinov Kasiviswanathan

On Mon, Jun 06, 2022 at 07:01:11PM +0200, Pablo Neira Ayuso wrote:
> On Mon, Jun 06, 2022 at 06:56:12PM +0200, Greg KH wrote:
> > On Mon, Jun 06, 2022 at 05:34:34PM +0200, Pablo Neira Ayuso wrote:
> > > On Mon, Jun 06, 2022 at 05:23:45PM +0200, Thomas Gleixner wrote:
> > > > Commit e2be04c7f995 ("License cleanup: add SPDX license identifier to
> > > > uapi header files with a license") added the correct SPDX identifier to
> > > > include/uapi/linux/netfilter/xt_IDLETIMER.h.
> > > > 
> > > > A subsequent commit removed it for no reason and reintroduced the UAPI
> > > > license incorrectness as the file is now missing the UAPI exception
> > > > again.
> > > > 
> > > > Add it back and remove the GPLv2 boilerplate while at it.
> > > 
> > > LGTM.
> > > 
> > > You handle this or I place this in the nf.git tree?
> > 
> > If you want to take it, that's fine with me, otherwise I can in a
> > spdx-specific tree that I manage.
> 
> I did not know there is a specific tree for this.
> 
> > Your choice, which ever is easier for you.
> 
> please take it

Will do, thanks!

greg k-h

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

end of thread, other threads:[~2022-06-06 17:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 15:23 netfilter: xtables: Bring SPDX identifier back Thomas Gleixner
2022-06-06 15:34 ` Pablo Neira Ayuso
2022-06-06 16:56   ` Greg KH
2022-06-06 17:01     ` Pablo Neira Ayuso
2022-06-06 17:10       ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.