In previous kernels, any kernel module could get access to the
'real-device' and the
VLAN-ID for a particular VLAN. In more recent kernels, the code was
such that this is hard to do without accessing private .h files for any
module that cannot
use GPL-only symbols.
Attached is a patch to once again allow non-GPL modules the ability to
real-device and VLAN id for VLANs. This patch is against 2.6.29-rc2.
Signed-Off-By: Ben Greear<firstname.lastname@example.org>
Ben Greear <email@example.com>
Candela Technologies Inc http://www.candelatech.com
I added that export after moving the code from a header file, but
there's no reason from my side not to export this to non-GPLed
drivers, using _GPL was merely a habit.
Acked-by: Patrick McHardy <firstname.lastname@example.org>