VLAN patch: Export symbols as non GPL symbols.

Previous thread: [PATCH]bnx2x: tx_has_work should not wait for FW by Eilon Greenstein on Monday, January 26, 2009 - 9:55 am. (2 messages)

Next thread: [PATCH 0/2 2.6.30] cxgb3 - notify iWARP of chip resets by Divy Le Ray on Monday, January 26, 2009 - 10:42 am. (8 messages)
From: Ben Greear
Date: Monday, January 26, 2009 - 10:01 am

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.  This patch is against 2.6.29-rc2.

Signed-Off-By:  Ben Greear<greearb@candelatech.com>

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com


From: Patrick McHardy
Date: Monday, January 26, 2009 - 10:05 am

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 <kaber@trash.net>
--

From: David Miller
Date: Monday, January 26, 2009 - 1:37 pm

From: Patrick McHardy <kaber@trash.net>

Applied, thanks.
--

Previous thread: [PATCH]bnx2x: tx_has_work should not wait for FW by Eilon Greenstein on Monday, January 26, 2009 - 9:55 am. (2 messages)

Next thread: [PATCH 0/2 2.6.30] cxgb3 - notify iWARP of chip resets by Divy Le Ray on Monday, January 26, 2009 - 10:42 am. (8 messages)