diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-07-17 09:26:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 09:48:05 -0700 |
commit | 90382dca61137444cb8f639db0a76c4d084763d7 (patch) | |
tree | 4ee30a6dc1565e3d4bad959b73468df7f29f5deb /net/core/dev_ioctl.c | |
parent | ff65fa6cd576909e31797bd7243a0d80b76db0b6 (diff) | |
download | linux-90382dca61137444cb8f639db0a76c4d084763d7.tar.bz2 |
ixgbe: NULL xdp_tx rings on resource cleanup
tx_rings and rx_rings are cleaned up on close paths in ixgbe driver
however, xdp_rings are not. Set the xdp_rings to NULL here so that
we can use the pointer to indicate if the XDP rings are initialized.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions