diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-10 01:20:02 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-10 12:06:17 +0100 |
commit | 82aaff2f63443e1d6cc4a186ed9c2a5718123906 (patch) | |
tree | a6dae59bfd56945e9d909abaef526f62e657853c /include/linux/random.h | |
parent | 141b52a98ab45a835ff1ea869414faccdc255a72 (diff) | |
download | linux-82aaff2f63443e1d6cc4a186ed9c2a5718123906.tar.gz linux-82aaff2f63443e1d6cc4a186ed9c2a5718123906.tar.xz |
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 'include/linux/random.h')
0 files changed, 0 insertions, 0 deletions