Netdev List
 help / color / mirror / Atom feed
From: "Alessandro Suardi" <alessandro.suardi@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org
Subject: [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client
Date: Wed, 31 Oct 2007 01:35:47 +0100	[thread overview]
Message-ID: <5a4c581d0710301735h1682a30bvfbee632c118556d8@mail.gmail.com> (raw)

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')

             reply	other threads:[~2007-10-31  0:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31  0:35 Alessandro Suardi [this message]
2007-10-31  5:05 ` [possibly OT] for_each_netdev() in 2.6.23-gitX / 2.6.24-rc1-gitY breaks Cisco VPN client Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a4c581d0710301735h1682a30bvfbee632c118556d8@mail.gmail.com \
    --to=alessandro.suardi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox