Thread (6 messages) 6 messages, 2 authors, 2013-05-28

Re: [patch net-next v2 1/3] net: pass info struct via netdevice notifier

flat view

From: Jiri Pirko <jiri@resnulli.us>
Date: 2013-05-28 09:25:44

Tue, May 28, 2013 at 10:54:28AM CEST, xiyou.wangcong@gmail.com wrote:
On Tue, 28 May 2013 at 08:24 GMT, Jiri Pirko [off-list ref] wrote:
quoted
 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....
ia64, that's why this passed through my build test :/ Will fix this
BTW, get_netdevice_notifier_info_dev() really sucks, can we make it
shorter? For example, notifier_into_to_dev()?
I wanted to mention namespace there.
Maybe "netdev_notifier_info_to_dev"

Thanks
Thanks.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help