mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
The bytes_compl and pkts_compl pointers passed to efx_dequeue_buffers
cannot be NULL. Add a paranoid warning to check this condition and fix
the one case where they were NULL.
efx_enqueue_unwind() is called very rarely, during error handling.
Without this fix it would fail with a NULL pointer dereference in
efx_dequeue_buffer, with efx_enqueue_skb in the call stack.
Fixes:
|
||
|---|---|---|
| .. | ||
| falcon | ||
| bitfield.h | ||
| ef10.c | ||
| ef10_regs.h | ||
| ef10_sriov.c | ||
| ef10_sriov.h | ||
| efx.c | ||
| efx.h | ||
| enum.h | ||
| ethtool.c | ||
| farch.c | ||
| farch_regs.h | ||
| filter.h | ||
| io.h | ||
| Kconfig | ||
| Makefile | ||
| mcdi.c | ||
| mcdi.h | ||
| mcdi_mon.c | ||
| mcdi_pcol.h | ||
| mcdi_port.c | ||
| mtd.c | ||
| net_driver.h | ||
| nic.c | ||
| nic.h | ||
| ptp.c | ||
| rx.c | ||
| selftest.c | ||
| selftest.h | ||
| siena.c | ||
| siena_sriov.c | ||
| siena_sriov.h | ||
| sriov.c | ||
| sriov.h | ||
| tx.c | ||
| tx.h | ||
| tx_tso.c | ||
| vfdi.h | ||
| workarounds.h | ||