]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite46516b3a47ce121fbca91e8c8092a35fe155606
treead61cd5a69dc68a4851fb196120baba6052d2689
parentbf1a20f51df28e532ff5e9d77ea63e7b8bf3aa87
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