[openib-general] Re: [PATCH 05/16] IB uverbs: core implementation

Troy Benjegerdes hozer at hozed.org
Wed Jun 29 09:32:25 PDT 2005


On Wed, Jun 29, 2005 at 09:12:09AM -0700, Greg KH wrote:
> On Tue, Jun 28, 2005 at 11:13:22PM -0500, Troy Benjegerdes wrote:
> > On Tue, Jun 28, 2005 at 05:27:09PM -0700, Greg KH wrote:
> > > On Tue, Jun 28, 2005 at 04:03:43PM -0700, Roland Dreier wrote:
> > > > +++ linux/drivers/infiniband/core/uverbs_main.c	2005-06-28 15:20:04.363963991 -0700
> > > > @@ -0,0 +1,708 @@
> > > > +/*
> > > > + * Copyright (c) 2005 Topspin Communications.  All rights reserved.
> > > > + * Copyright (c) 2005 Cisco Systems.  All rights reserved.
> > > > + *
> > > > + * This software is available to you under a choice of one of two
> > > > + * licenses.  You may choose to be licensed under the terms of the GNU
> > > > + * General Public License (GPL) Version 2, available from the file
> > > > + * COPYING in the main directory of this source tree, or the
> > > > + * OpenIB.org BSD license below:
> > > 
> > > Ok, I've complained about this before, but due to the fact that you are
> > > calling EXPORT_SYMBOL_GPL() only functions in this code, the ability for
> > > it for someone to use the BSD license on it in the future, is pretty
> > > much impossible, right?
> > 
> > Only if someone tries to use it under a BSD license, strips off the GPL
> > notices, and then builds it against *Linux*.
> 
> Exactly, that's my point.  It's pretty useless, and if you are going to
> build this code for another OS, well, that's going to be a tough job :)
> 
> > If linux-kernel is going to be that fascist about licensing, let's
> > please clean up all the binary firmware blobs in header files first.
> 
> I'm not being "fascist", I'm just saying it's pretty pointless to try to
> dual license this code, that's all.

Ahh.. I think the point of the dual-license is that there is a lot of
non linux-specific Infiniband code that will (hopefully) be usefull on
other platforms where a BSD license might be more usefull. If for some
reason I decided I wanted to run MacOSX, I would at least want to be
running the OpenIB infiniband stack, and not some proprietary module.

Does anyone have some nice scripts to audit for useage of
EXPORT_SYMBOL_GPL only functions? Maybe it's worth trying to clean up
the code to clearly deliniate what depends on GPL functions and what
doesn't.



More information about the general mailing list