]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sfc: remove incorrect EFX_BUG_ON_PARANOID check
authorJon Cooper <jcooper@solarflare.com>
Tue, 21 Oct 2014 13:50:29 +0000 (14:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Oct 2014 16:51:16 +0000 (12:51 -0400)
commit8fc963515e893867330dec87464e9edc5204c024
treed9e593f193df9b5eecc46a99cb313f3aa70d3872
parent7c1c97d54f9bfc810908d3903cb8bcacf734df18
sfc: remove incorrect EFX_BUG_ON_PARANOID check

write_count and insert_count can wrap around, making > check invalid.

Fixes: 70b33fb0ddec827cbbd14cdc664fc27b2ef4a6b6 ("sfc: add support for
 skb->xmit_more").

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/tx.c