[Intel-wired-lan] [PATCH net] ixgbe: check return value of napi_complete_done()

Bowers, AndrewX andrewx.bowers at intel.com
Thu Sep 27 16:12:10 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Song Liu
> Sent: Thursday, September 20, 2018 12:01 PM
> To: netdev at vger.kernel.org
> Cc: Song Liu <songliubraving at fb.com>; intel-wired-lan at lists.osuosl.org;
> kernel-team at fb.com; stable at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH net] ixgbe: check return value of
> napi_complete_done()
> 
> The NIC driver should only enable interrupts when napi_complete_done()
> returns true. This patch adds the check for ixgbe.
> 
> Cc: stable at vger.kernel.org # 4.10+
> Cc: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
> Suggested-by: Eric Dumazet <edumazet at google.com>
> Signed-off-by: Song Liu <songliubraving at fb.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list