mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
sfc: Avoid NULL pointer dereference on systems without numa awareness
On such systems cpumask_of_node() returns NULL, which bitmap operations are not happy with. Fixes:c265b569a4("sfc: default config to 1 channel/core in local NUMA node only") Fixes:09a99ab16c("sfc: set affinity hints in local NUMA node only") Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com> Reviewed-by: Íñigo Huguet <ihuguet@redhat.com> Link: https://lore.kernel.org/r/164857006953.8140.3265568858101821256.stgit@palantir17.mph.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
8f0588e80e
commit
c9ad266bbe
1 changed files with 4 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue