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