Author: erj
Date: Wed Feb 27 22:26:18 2019
New Revision: 344643
URL: https://svnweb.freebsd.org/changeset/base/344643

Log:
  ixgbe(4): Fix panic triggered by assertion from interrupt
  
  r344162 exposed a bug in one of ixgbe's interrupt filters; they are never
  supposed to return 0. Fix the interrupt filter to return the proper nonzero
  return value.
  
  Reported by:  Oleg Ginzburg <olev...@olevole.ru>
  MFC after:    1 week
  Sponsored by: Intel Corporation

Modified:
  head/sys/dev/ixgbe/if_ix.c

Modified: head/sys/dev/ixgbe/if_ix.c
==============================================================================
--- head/sys/dev/ixgbe/if_ix.c  Wed Feb 27 22:16:59 2019        (r344642)
+++ head/sys/dev/ixgbe/if_ix.c  Wed Feb 27 22:26:18 2019        (r344643)
@@ -2064,7 +2064,7 @@ ixgbe_msix_que(void *arg)
 
        /* Protect against spurious interrupts */
        if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0)
-               return 0;
+               return (FILTER_HANDLED);
 
        ixgbe_disable_queue(adapter, que->msix);
        ++que->irqs;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to