vlan: Export symbols as non GPL symbols.
authorBen Greear <greearb@candelatech.com>
Mon, 26 Jan 2009 20:37:53 +0000 (12:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2009 20:37:53 +0000 (12:37 -0800)
commit116cb42855fbd052fc8cd2ca3e06050bff762673
treead61cd5a69dc68a4851fb196120baba6052d2689
parente8b5fc514d1c7637cb4b8f77e7d8ac33ef66130c
vlan: Export symbols as non GPL symbols.

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 restructured 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
access the real-device and VLAN id for VLANs.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_core.c