Jakub Kicinski 82aaff2f63 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>
2018-01-10 12:06:17 +01:00
..
2017-11-30 09:26:32 -05:00
2018-01-10 12:06:17 +01:00
2018-01-02 14:27:30 -05:00
2017-11-01 12:19:03 +09:00
2017-11-08 16:12:33 +09:00
2018-01-02 14:27:29 -05:00