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

Eric W. Biederman
2007-12-04T20:11:35Z

Ben Greear <greearb@candelatech.com> writes:

> Ok, but can a netdev at least know what namespace it is in? I don't
> need this for my module, but it seems very useful knowledge...

Sure. dev->nd_net
It is a don't care not a don't know, and there should be device
events when it goes in and out of a network namespace.

I don't know if the device gets those or not.

Eric