diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-01-25 12:48:51 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-01-27 11:05:42 +0100 |
| commit | 02758cb6dac31a2b4bd9e535cffbe718acd46404 (patch) | |
| tree | 30aa053fff7bd25d7d7c42ca91a2909e90013093 /scripts/patch-kernel | |
| parent | net: socionext: fix possible user-after-free in netsec_process_rx (diff) | |
| download | linux-02758cb6dac31a2b4bd9e535cffbe718acd46404.tar.gz linux-02758cb6dac31a2b4bd9e535cffbe718acd46404.zip | |
net: socionext: fix xdp_result initialization in netsec_process_rx
Fix xdp_result initialization in netsec_process_rx in order to not
increase rx counters if there is no bpf program attached to the xdp hook
and napi_gro_receive returns GRO_DROP
Fixes: ba2b232108d3c ("net: netsec: add XDP support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
