Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171155
b: refs/heads/master
c: d007563
h: refs/heads/master
i:
  171153: d12436c
  171151: 4ae4623
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 4, 2009
1 parent e39cb4f commit ec81361
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: c7079857cd89cb5bc686df1d441db8ef0137abf1
refs/heads/master: d0075634cf9d288988f57392a1f132d2053af961
12 changes: 6 additions & 6 deletions trunk/net/sched/em_meta.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,17 +303,17 @@ META_COLLECTOR(var_sk_bound_if)
{
SKIP_NONLOCAL(skb);

if (skb->sk->sk_bound_dev_if == 0) {
if (skb->sk->sk_bound_dev_if == 0) {
dst->value = (unsigned long) "any";
dst->len = 3;
} else {
} else {
struct net_device *dev;

dev = dev_get_by_index(&init_net, skb->sk->sk_bound_dev_if);
rcu_read_lock();
dev = dev_get_by_index_rcu(&init_net, skb->sk->sk_bound_dev_if);
*err = var_dev(dev, dst);
if (dev)
dev_put(dev);
}
rcu_read_unlock();
}
}

META_COLLECTOR(int_sk_refcnt)
Expand Down

0 comments on commit ec81361

Please sign in to comment.