diff options
author | 2020-01-25 12:48:51 +0100 | |
---|---|---|
committer | 2020-01-27 11:05:42 +0100 | |
commit | 02758cb6dac31a2b4bd9e535cffbe718acd46404 (patch) | |
tree | 30aa053fff7bd25d7d7c42ca91a2909e90013093 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: socionext: fix possible user-after-free in netsec_process_rx (diff) | |
download | linux-dev-02758cb6dac31a2b4bd9e535cffbe718acd46404.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions