diff options
| author | Gregory CLEMENT <[email protected]> | 2016-02-04 21:09:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-13 11:02:18 +0000 |
| commit | 129219e4950a3fcf9323b3bbd8b224c7aa873985 (patch) | |
| tree | a4a25dcc1e081330d18d35a82ad0c01aaf39b89a /net/unix/af_unix.c | |
| parent | vsock: Fix blocking ops call in prepare_to_wait (diff) | |
| download | kernel-129219e4950a3fcf9323b3bbd8b224c7aa873985.tar.gz kernel-129219e4950a3fcf9323b3bbd8b224c7aa873985.zip | |
net: mvneta: Fix for_each_present_cpu usage
This patch convert the for_each_present in on_each_cpu, instead of
applying on the present cpus it will be applied only on the online cpus.
This fix a bug reported on
http://thread.gmane.org/gmane.linux.ports.arm.kernel/468173.
Using the macro on_each_cpu (instead of a for_each_* loop) also ensures
that all the calls will be done all at once.
Fixes: f86428854480 ("net: mvneta: Statically assign queues to CPUs")
Reported-by: Stefan Roese <[email protected]>
Suggested-by: Jisheng Zhang <[email protected]>
Suggested-by: Russell King <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
