* [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client
@ 2007-10-31 0:35 Alessandro Suardi
2007-10-31 5:05 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Suardi @ 2007-10-31 0:35 UTC (permalink / raw)
To: linux-kernel; +Cc: netdev
It's been a while I noticed, but I thought someone would as usual
cook up some fix, while I don't even see the issue been reported...
if this isn't a Linux kernel/net issue just drop my email, thanks.
Error message during cisco_vpn.ko build:
/download/linux/net/vpnclient/interceptor.c:345:23: error: macro
"for_each_netdev" requires 2 arguments, but only 1 given
seems like for_each_netdev() now also uses init_net. If there is
an alternative and somebody could point me to that, it'd be great,
as understanding the issue is well out of my grasp.
Patching up the vpnclient source to use init_net gets me to depmod
complaining it's not allowed to use a GPL-only symbol (init_net)
in a proprietary module. If this is meant to be - fine, and apologies
for the waste of bandwidth; but if this is simply an unwanted side
effect of the recent changes, perhaps it's a good idea to have it
at least reported.
--alessandro
"you feel the sweet breath of time
it's whispering, its truth not mine"
(Interpol, 'No I In Threesome')
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client
2007-10-31 0:35 [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client Alessandro Suardi
@ 2007-10-31 5:05 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2007-10-31 5:05 UTC (permalink / raw)
To: Alessandro Suardi; +Cc: linux-kernel, netdev
On Wed, 31 Oct 2007 01:35:47 +0100
"Alessandro Suardi" <alessandro.suardi@gmail.com> wrote:
> It's been a while I noticed, but I thought someone would as usual
> cook up some fix, while I don't even see the issue been reported...
> if this isn't a Linux kernel/net issue just drop my email, thanks.
>
> Error message during cisco_vpn.ko build:
>
> /download/linux/net/vpnclient/interceptor.c:345:23: error: macro
> "for_each_netdev" requires 2 arguments, but only 1 given
>
RTFM Documentation/stable_api_nonsense.txt
--
Stephen Hemminger <shemminger@linux-foundation.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-31 5:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-31 0:35 [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client Alessandro Suardi
2007-10-31 5:05 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox