summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/cdc_mbim.c
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2014-05-09 08:58:05 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-12 20:39:13 +0200
commitf06c7f9f92295faf701a9628b383156c4efb6119 (patch)
tree93d816c8e3d78f4252c4f32cf57a6626c36496f3 /drivers/net/usb/cdc_mbim.c
parentnet: rename local_df to ignore_df (diff)
downloadlinux-f06c7f9f92295faf701a9628b383156c4efb6119.tar.xz
linux-f06c7f9f92295faf701a9628b383156c4efb6119.zip
vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu()
The __vlan_find_dev_deep should always called in RCU, according David's suggestion, rename to __vlan_find_dev_deep_rcu looks more reasonable. Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/cdc_mbim.c')
-rw-r--r--drivers/net/usb/cdc_mbim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c
index 2e025ddcef21..0ab79fca822c 100644
--- a/drivers/net/usb/cdc_mbim.c
+++ b/drivers/net/usb/cdc_mbim.c
@@ -223,8 +223,8 @@ static void do_neigh_solicit(struct usbnet *dev, u8 *buf, u16 tci)
/* need to send the NA on the VLAN dev, if any */
rcu_read_lock();
if (tci) {
- netdev = __vlan_find_dev_deep(dev->net, htons(ETH_P_8021Q),
- tci);
+ netdev = __vlan_find_dev_deep_rcu(dev->net, htons(ETH_P_8021Q),
+ tci);
if (!netdev) {
rcu_read_unlock();
return;