Ying Xue a74e942694 caif: __dev_get_by_index instead of dev_get_by_index to find interface
The following call chains indicate that chnl_net_open() is under
rtnl_lock protection as __dev_open() is protected by rtnl_lock.
So if __dev_get_by_index() instead of dev_get_by_index() is used
to find interface handler in it, this would help us avoid to change
interface reference counter.

__dev_open()
  chnl_net_open()

Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-14 18:50:47 -08:00
..
2014-01-13 23:42:39 -08:00
2013-12-21 14:56:21 +01:00
2014-01-13 12:00:16 -08:00
2014-01-14 18:18:22 -08:00
2014-01-14 18:18:22 -08:00
2013-11-21 13:09:42 -05:00
2013-12-09 20:24:18 -05:00