From: Cong Wang <xiyou.wangcong@gmail.com>
To: netdev@vger.kernel.org
Subject: Re: [patch net-next v2 1/3] net: pass info struct via netdevice notifier
Date: Tue, 28 May 2013 08:54:28 +0000 (UTC) [thread overview]
Message-ID: <ko1rc4$nbp$1@ger.gmane.org> (raw)
In-Reply-To: 1369729460-28421-2-git-send-email-jiri@resnulli.us
On Tue, 28 May 2013 at 08:24 GMT, Jiri Pirko <jiri@resnulli.us> wrote:
> simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr)
> {
> - struct net_device *dev = ptr;
> + struct net_device *dev = get_netdevice_nofifier_info_dev(ptr);
typo above....
BTW, get_netdevice_notifier_info_dev() really sucks, can we make it
shorter? For example, notifier_into_to_dev()?
Thanks.
next prev parent reply other threads:[~2013-05-28 8:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 8:24 [patch net-next v2 0/3] net: extend netdevice notifier and use it for flags change Jiri Pirko
2013-05-28 8:24 ` [patch net-next v2 1/3] net: pass info struct via netdevice notifier Jiri Pirko
2013-05-28 8:54 ` Cong Wang [this message]
2013-05-28 9:25 ` Jiri Pirko
2013-05-28 8:24 ` [patch net-next v2 2/3] net: pass changed flags along with NETDEV_CHANGE event Jiri Pirko
2013-05-28 8:24 ` [patch net-next v2 3/3] arp: flush arp cache on IFF_NOARP change Jiri Pirko
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='ko1rc4$nbp$1@ger.gmane.org' \
--to=xiyou.wangcong@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).