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>
This commit is contained in:

committed by
David S. Miller

parent
60ff746739
commit
f06c7f9f92
@@ -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;
|
||||
|
Reference in New Issue
Block a user