Re: [PATCH net-next v2 00/10] use appropriate APIs to get interfaces

2014-01-14 Thread David Miller
From: Ying Xue Date: Wed, 15 Jan 2014 10:23:35 +0800 > Under rtnl_lock protection, we should use __dev_get_name/index() > rather than dev_get_name()/index() to find interface handlers > because the former interfaces can help us avoid to change interface > reference counter. > > v2 changes: > -

[PATCH net-next v2 00/10] use appropriate APIs to get interfaces

2014-01-14 Thread Ying Xue
Under rtnl_lock protection, we should use __dev_get_name/index() rather than dev_get_name()/index() to find interface handlers because the former interfaces can help us avoid to change interface reference counter. v2 changes: - Change return value of nl80211_set_wiphy() to 0 in patch #10 by jo