summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-15 03:23:40 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-15 03:50:46 +0100
commitd4c5fba2f6c272ed687fe6351e5b20bc60cf24f0 (patch)
tree52c2a24ee3b90543b4a5e4d28b6fd513570f185e /drivers/net/vxlan.c
parentdcb: use __dev_get_by_name instead of dev_get_by_name to find interface (diff)
downloadlinux-d4c5fba2f6c272ed687fe6351e5b20bc60cf24f0.tar.xz
linux-d4c5fba2f6c272ed687fe6351e5b20bc60cf24f0.zip
decnet: use __dev_get_by_index instead of dev_get_by_index to find interface
The following call chain we can identify that dn_cache_getroute() is protected under rtnl_lock. So if we use __dev_get_by_index() instead of dev_get_by_index() to find interface handlers in it, this would help us avoid to change interface reference counter. rtnetlink_rcv() rtnl_lock() netlink_rcv_skb() dn_cache_getroute() rtnl_unlock() Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions