diff options
author | 2022-01-02 08:41:22 +0000 | |
---|---|---|
committer | 2022-01-04 18:14:21 -0800 | |
commit | 1d5a474240407c38ca8c7484a656ee39f585399c (patch) | |
tree | 6bb4163e23d6bc889744f3dbca70c8d86a421274 /scripts/gdb/linux/utils.py | |
parent | Merge tag 'mac80211-for-net-2022-01-04' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (diff) | |
download | wireguard-linux-1d5a474240407c38ca8c7484a656ee39f585399c.tar.xz wireguard-linux-1d5a474240407c38ca8c7484a656ee39f585399c.zip |
sfc: The RX page_ring is optional
The RX page_ring is an optional feature that improves
performance. When allocation fails the driver can still
function, but possibly with a lower bandwidth.
Guard against dereferencing a NULL page_ring.
Fixes: 2768935a4660 ("sfc: reuse pages to avoid DMA mapping/unmapping costs")
Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Reported-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/164111288276.5798.10330502993729113868.stgit@palantir17.mph.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions