diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2019-04-02 08:16:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-04 06:40:52 +0200 |
commit | 0ab03f353d3613ea49d1f924faf98559003670a8 (patch) | |
tree | ab0fa8ad04d27c2bd711bcd8b52f5eb3b628624c /.mailmap | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff) | |
download | linux-0ab03f353d3613ea49d1f924faf98559003670a8.tar.xz linux-0ab03f353d3613ea49d1f924faf98559003670a8.zip |
net-gro: Fix GRO flush when receiving a GSO packet.
Currently we may merge incorrectly a received GSO packet
or a packet with frag_list into a packet sitting in the
gro_hash list. skb_segment() may crash case because
the assumptions on the skb layout are not met.
The correct behaviour would be to flush the packet in the
gro_hash list and send the received GSO packet directly
afterwards. Commit d61d072e87c8e ("net-gro: avoid reorders")
sets NAPI_GRO_CB(skb)->flush in this case, but this is not
checked before merging. This patch makes sure to check this
flag and to not merge in that case.
Fixes: d61d072e87c8e ("net-gro: avoid reorders")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions