summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-15 10:23:36 +0800
committerDavid S. Miller <davem@davemloft.net>2014-01-14 18:50:46 -0800
commitbdffbb8e2630feb258d848cdfabaebbdb8105864 (patch)
tree04e84d9e9ac528eddcc3292ea9d99fa9cec3f79f /drivers/net/bonding/bond_main.c
parent85a5bac9cd90966be75707e5b599bdd2cdcaa0e0 (diff)
downloadlwn-bdffbb8e2630feb258d848cdfabaebbdb8105864.tar.gz
lwn-bdffbb8e2630feb258d848cdfabaebbdb8105864.zip
Drivers: Staging: cxt1e1: use __dev_get_name instead of dev_get_name to find interfaces
The following call chain denotes that both do_reset() and do_del_chan() are protected under rtnl_lock. If we use __dev_get_by_name() instead of dev_get_by_name() to find interface handlers in them, this would help us avoid to change interface reference counter. dev_ioctl() rtnl_lock() dev_ifsioc() c4_ioctl() do_reset() do_del_chan() 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/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions