diff options
author | 2018-01-10 01:20:02 -0800 | |
---|---|---|
committer | 2018-01-10 12:06:17 +0100 | |
commit | 82aaff2f63443e1d6cc4a186ed9c2a5718123906 (patch) | |
tree | a6dae59bfd56945e9d909abaef526f62e657853c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | net: use the right variant of kfree (diff) | |
download | linux-dev-82aaff2f63443e1d6cc4a186ed9c2a5718123906.tar.xz linux-dev-82aaff2f63443e1d6cc4a186ed9c2a5718123906.zip |
net: free RX queue structures
Looks like commit e817f85652c1 ("xdp: generic XDP handling of
xdp_rxq_info") replaced kvfree(dev->_rx) in free_netdev() with
a call to netif_free_rx_queues() which doesn't actually free
the rings?
While at it remove the unnecessary temporary variable.
Fixes: e817f85652c1 ("xdp: generic XDP handling of xdp_rxq_info")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions