diff options
author | Xin Long <lucien.xin@gmail.com> | 2020-03-30 18:31:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-30 20:35:03 +0300 |
commit | bde1b56f898ca8112912d7b36e55e1543b3be0cf (patch) | |
tree | 59ef2dbecd151c6d2dce99f79834de1315868ad6 /net/core/devlink.c | |
parent | 25629fdaff2ff509dd0b3f5ff93d70a75e79e0a1 (diff) | |
download | linux-bde1b56f898ca8112912d7b36e55e1543b3be0cf.tar.xz |
udp: initialize is_flist with 0 in udp_gro_receive
Without NAPI_GRO_CB(skb)->is_flist initialized, when the dev doesn't
support NETIF_F_GRO_FRAGLIST, is_flist can still be set and fraglist
will be used in udp_gro_receive().
So fix it by initializing is_flist with 0 in udp_gro_receive.
Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions