Re: namespace support requires network modules to say "GPL"

From: Patrick McHardy
Date: Sun Dec 02 2007 - 15:04:36 EST


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. The only exception
might be stuff where an existing EXPORT_SYMBOL is clearly wrong,
but that would be a seperate discussion.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/