Re: [PATCH net] net: rfs: fix crash in get_rps_cpus()

2015-04-26 Thread David Miller
From: Eric Dumazet Date: Sat, 25 Apr 2015 09:35:24 -0700 > From: Eric Dumazet > > Commit 567e4b79731c ("net: rfs: add hash collision detection") had one > mistake : > > RPS_NO_CPU is no longer the marker for invalid cpu in set_rps_cpu() > and get_rps_cpu(), as @next_cpu was the result of an AN

[PATCH net] net: rfs: fix crash in get_rps_cpus()

2015-04-25 Thread Eric Dumazet
From: Eric Dumazet Commit 567e4b79731c ("net: rfs: add hash collision detection") had one mistake : RPS_NO_CPU is no longer the marker for invalid cpu in set_rps_cpu() and get_rps_cpu(), as @next_cpu was the result of an AND with rps_cpu_mask This bug showed up on a host with 72 cpus : next_cpu