Ying Xue d9ac62be57 dcb: use __dev_get_by_name instead of dev_get_by_name to find interface
The following call chain indicates that dcb_doit() is protected
under rtnl_lock. So if we use __dev_get_by_name() instead of
dev_get_by_name() to find interface handlers in it, this would
help us avoid to change interface reference counter.

rtnetlink_rcv()
  rtnl_lock()
  netlink_rcv_skb()
    dcb_doit()
  rtnl_unlock()

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-14 18:50:46 -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
2013-09-23 16:52:45 -04:00
2013-10-19 19:36:19 -04: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