linux-hardened/net/caif
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
..
caif_dev.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
caif_socket.c net: rework recvmsg handler msg_name and msg_namelen logic 2013-11-20 21:52:30 -05:00
caif_usb.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
cfcnfg.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfctrl.c caif: Add missing braces to multiline if in cfctrl_linkup_request 2013-09-05 14:31:02 -04:00
cfdbgl.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfdgml.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cffrml.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfmuxl.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfpkt_skbuff.c caif: use pskb_put() instead of reimplementing its functionality 2013-11-07 19:28:59 -05:00
cfrfml.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfserl.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfsrvl.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfutill.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfveil.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
cfvidl.c caif: Remove my bouncing email address. 2013-04-23 13:25:51 -04:00
chnl_net.c caif: __dev_get_by_index instead of dev_get_by_index to find interface 2014-01-14 18:50:47 -08:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile caif: Add support for CAIF over CDC NCM USB interface 2011-12-05 18:27:56 -05:00