RE: [PATCH] e1000e: fix division by zero on jumbo MTUs

From: Brown, Aaron F
Date: Thu Nov 19 2015 - 23:46:07 EST


> From: netdev-owner@xxxxxxxxxxxxxxx [mailto:netdev-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Leonid Bloch
> Sent: Tuesday, October 13, 2015 2:48 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>; Brandeburg, Jesse
> <jesse.brandeburg@xxxxxxxxx>; Nelson, Shannon
> <shannon.nelson@xxxxxxxxx>; Wyborny, Carolyn
> <carolyn.wyborny@xxxxxxxxx>; Skidmore, Donald C
> <donald.c.skidmore@xxxxxxxxx>; Vick, Matthew <matthew.vick@xxxxxxxxx>;
> Ronciak, John <john.ronciak@xxxxxxxxx>; Williams, Mitch A
> <mitch.a.williams@xxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; Dmitry Fleytman <dmitry@xxxxxxxxxx>
> Subject: [PATCH] e1000e: fix division by zero on jumbo MTUs
>
> From: Dmitry Fleytman <dmitry@xxxxxxxxxx>
>
> This patch fixes possible division by zero in receive
> interrupt handler when working without adaptive interrupt
> moderation.
>
> The adaptive interrupt moderation mechanism is typically
> disabled on jumbo MTUs.
>
> Signed-off-by: Dmitry Fleytman <dmitry@xxxxxxxxxx>
> Signed-off-by: Leonid Bloch <leonid@xxxxxxxxxx>
> ---
> drivers/net/ethernet/intel/e1000e/netdev.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

Tested-by: Aaron Brown <aaron.f.brown@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/