Merge branch 'dev_get_by_index'
commitc4ba999307ece85f4a3a569812be104a4578cf9b
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:52:57 +0000 (14 18:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:52:57 +0000 (14 18:52 -0800)
tree7c61f45f6098356d80cdf16ee751d471804350f8
parent85a5bac9cd90966be75707e5b599bdd2cdcaa0e0
parent7f2b8562c2ee6e2a69c2715b9927f708f2f861dc
Merge branch 'dev_get_by_index'

Ying Xue says:

====================
use appropriate APIs to get interfaces

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 johannes's suggestion.
 - Add 'Acked-by' into several patches which were acknowledged by
   corresponding maintainers.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>