diff options
author | 2022-03-29 17:07:49 +0100 | |
---|---|---|
committer | 2022-03-30 12:08:58 -0700 | |
commit | c9ad266bbef58dcbb6e74a6dbc5c4c2ed166e9b7 (patch) | |
tree | 5c63e1ffe9dbe0c2d815368467fc792baee47801 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ptp: ocp: handle error from nvmem_device_find (diff) | |
download | wireguard-linux-c9ad266bbef58dcbb6e74a6dbc5c4c2ed166e9b7.tar.xz wireguard-linux-c9ad266bbef58dcbb6e74a6dbc5c4c2ed166e9b7.zip |
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: c265b569a45f ("sfc: default config to 1 channel/core in local NUMA node only")
Fixes: 09a99ab16c60 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions