Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232853
b: refs/heads/master
c: 8587523
h: refs/heads/master
i:
  232851: ca1b61a
v: v3
  • Loading branch information
Tom Herbert authored and David S. Miller committed Feb 1, 2011
1 parent d45b1d1 commit e8c4113
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: cc09b5f6466528867b280f6eb4077311aa099588
refs/heads/master: 8587523640441a9ff2564ebc6efeb39497ad6709
3 changes: 2 additions & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,8 @@ static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb,

map = rcu_dereference(rxqueue->rps_map);
if (map) {
if (map->len == 1) {
if (map->len == 1 &&
!rcu_dereference_raw(rxqueue->rps_flow_table)) {
tcpu = map->cpus[0];
if (cpu_online(tcpu))
cpu = tcpu;
Expand Down

0 comments on commit e8c4113

Please sign in to comment.