summaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-15 03:23:39 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-15 03:50:46 +0100
commitd9ac62be5740272f495154469cc9f77feb8d541a (patch)
tree9ff0ca3ae3c0f647d402baf1cd6d1a3b1b63ba4f /drivers/net/vxlan.c
parenteql: use __dev_get_by_name instead of dev_get_by_name to find interface (diff)
downloadlinux-d9ac62be5740272f495154469cc9f77feb8d541a.tar.xz
linux-d9ac62be5740272f495154469cc9f77feb8d541a.zip
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>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions