Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224112
b: refs/heads/master
c: 840a185
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 8, 2010
1 parent 69dd183 commit 688dca1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d5439b9a29b1386d44a617cbaf2f7acde1d697c
refs/heads/master: 840a185dddfd098b78b96a30da4cad722a7aef18
6 changes: 3 additions & 3 deletions trunk/drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ aoecmd_cfg_pkts(ushort aoemajor, unsigned char aoeminor, struct sk_buff_head *qu
struct sk_buff *skb;
struct net_device *ifp;

read_lock(&dev_base_lock);
for_each_netdev(&init_net, ifp) {
rcu_read_lock();
for_each_netdev_rcu(&init_net, ifp) {
dev_hold(ifp);
if (!is_aoe_netif(ifp))
goto cont;
Expand All @@ -325,7 +325,7 @@ aoecmd_cfg_pkts(ushort aoemajor, unsigned char aoeminor, struct sk_buff_head *qu
cont:
dev_put(ifp);
}
read_unlock(&dev_base_lock);
rcu_read_unlock();
}

static void
Expand Down

0 comments on commit 688dca1

Please sign in to comment.