[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180130011447.24916-1-dja@axtens.net>
Date: Tue, 30 Jan 2018 12:14:45 +1100
From: Daniel Axtens <dja@...ens.net>
To: netdev@...r.kernel.org
Cc: Daniel Axtens <dja@...ens.net>, Manish.Chopra@...ium.com,
Jason Wang <jasowang@...hat.com>,
Pravin Shelar <pshelar@....org>,
Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Subject: [PATCH v3 0/2] bnx2x: disable GSO on too-large packets
We observed a case where a packet received on an ibmveth device had a
GSO size of around 10kB. This was forwarded by Open vSwitch to a bnx2x
device, where it caused a firmware assert. This is described in detail
at [0].
Ultimately we want a fix in the core, but that is very tricky to
backport. So for now, just stop the bnx2x driver from crashing.
When net-next re-opens I will send the fix to the core and a revert
for this.
Marcelo: I have left renaming skb_gso_validate_mtu() for the
next series.
Thanks,
Daniel
[0]: https://patchwork.ozlabs.org/patch/859410/
Cc: Manish.Chopra@...ium.com
Cc: Jason Wang <jasowang@...hat.com>
Cc: Pravin Shelar <pshelar@....org>
Cc: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Daniel Axtens (2):
net: create skb_gso_validate_mac_len()
bnx2x: disable GSO where gso_size is too big for hardware
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 9 ++++
include/linux/skbuff.h | 16 ++++++
net/core/skbuff.c | 65 +++++++++++++++++++-----
net/sched/sch_tbf.c | 10 ----
4 files changed, 76 insertions(+), 24 deletions(-)
--
2.14.1
Powered by blists - more mailing lists