From: Bert Kenward <bkenw...@solarflare.com> Date: Thu, 7 Dec 2017 17:18:58 +0000
> 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: e9117e5099ea ("sfc: Firmware-Assisted TSO version 2") > Reported-by: Jarod Wilson <ja...@redhat.com> > Signed-off-by: Bert Kenward <bkenw...@solarflare.com> Applied and queued up for -stable, thanks.