summaryrefslogtreecommitdiff
path: root/drivers/net/ieee802154/atusb.c
diff options
context:
space:
mode:
authorMartin Habets <habetsm.xilinx@gmail.com>2022-01-02 08:41:22 +0000
committerJakub Kicinski <kuba@kernel.org>2022-01-04 18:14:21 -0800
commit1d5a474240407c38ca8c7484a656ee39f585399c (patch)
tree6bb4163e23d6bc889744f3dbca70c8d86a421274 /drivers/net/ieee802154/atusb.c
parent6f89ecf10af1396ddc34c303ae1168a11f3f04a3 (diff)
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 'drivers/net/ieee802154/atusb.c')
0 files changed, 0 insertions, 0 deletions