Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756579AbXLBUoU (ORCPT ); Sun, 2 Dec 2007 15:44:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752179AbXLBUoF (ORCPT ); Sun, 2 Dec 2007 15:44:05 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:60286 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754110AbXLBUoE (ORCPT ); Sun, 2 Dec 2007 15:44:04 -0500 Date: Sun, 2 Dec 2007 21:43:56 +0100 From: Adrian Bunk To: Patrick McHardy Cc: Ben Greear , Stephen Hemminger , Mark Lord , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, containers@lists.osdl.org Subject: Re: namespace support requires network modules to say "GPL" Message-ID: <20071202204356.GN15974@stusta.de> References: <47515D39.9030900@rtr.ca> <20071201111736.297dd99a@freepuppy.rosehill> <20071201163035.321fd554@freepuppy.rosehill> <475227B1.2060802@rtr.ca> <20071201202354.672aed18@freepuppy.rosehill> <47530778.7030605@candelatech.com> <47530FAC.1070804@trash.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <47530FAC.1070804@trash.net> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2572 Lines: 69 On Sun, Dec 02, 2007 at 09:03:56PM +0100, Patrick McHardy wrote: > Ben Greear wrote: >> Stephen Hemminger wrote: >>>> >>>> Naw, enterprise (or any other) distro vendors shouldn't have any issues >>>> here, >>>> since they can just patch their kernels around any issues. >>>> >>>> But it looks like Eric has this one thought out well enough. >>>> >>> >>> So you are saying all this is not a problem, fine. >>> Any affected parties can certainly lobby for themselves. But I suspect >>> they all think the kernel community is a bunch of ... and will just >>> ignore >>> the problem. > > >> I have a binary module that uses dev_get_by_name...it's sort of a >> bridge-like thing and >> needs user-space to tell it which device to listen for packets on... >> >> This code doesn't need or care about name-spaces, so I don't see how it >> could really >> be infringing on the author's code (any worse than loading a binary driver >> into the kernel >> ever does). >> >> I would certainly prefer to not have to patch around any problems with >> calling dev_get_by_name >> from a non-gpl module, but if required, I can probably figure something >> out... > > > For all I care binary modules can break, but frankly I don't see > how encapsulating a couple of structures and pointers in a new > structure and adding a new argument to existing functions shifts > the decision about how a function should be usable to the namespace > guys. IMO all functions should continue to be usable as before, > as decided by whoever actually wrote them. >... Even ignoring the fact that it's unclear whether distributing modules with not GPLv2 compatible licences is legal at all or might bring you in jail, your statement has an interesting implication: Stuff like e.g. the EXPORT_SYMBOL(sk_alloc) predates the EXPORT_SYMBOL_GPL stuff. Who is considered the author of this code? And when should he state whether he prefers to use EXPORT_SYMBOL_GPL but wasn't able to use it at that when he wrote it since his code predates it and is glad to be able to decide this now? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/