]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qede: Fix single MTU sized packet from firmware GRO flow
authorManish Chopra <manish.chopra@qlogic.com>
Wed, 20 Apr 2016 07:03:29 +0000 (03:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 18:51:29 +0000 (14:51 -0400)
commitee2fa8e6b317ef756a3dfc2dae35891c025e32c9
tree37639406ac98e254711a691e95740b73effc0bcb
parentaad94c0408780c9f2e168f91ded861dd3877f7d9
qede: Fix single MTU sized packet from firmware GRO flow

In firmware assisted GRO flow there could be a single MTU sized
segment arriving due to firmware aggregation timeout/last segment
in an aggregation flow, which is not expected to be an actual gro
packet. So If a skb has zero frags from the GRO flow then simply
push it in the stack as non gso skb.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Yuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c