linux_dsm_epyc7002/drivers/net/ethernet/qlogic
Jakub Kicinski bd0b2e7fe6 net: xdp: make the stack take care of the tear down
Since day one of XDP drivers had to remember to free the program
on the remove path.  This leads to code duplication and is error
prone.  Make the stack query the installed programs on unregister
and if something is installed, remove the program.  Freeing of
program attached to XDP generic is moved from free_netdev() as well.

Because the remove will now be called before notifiers are
invoked, BPF offload state of the program will not get destroyed
before uninstall.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-12-03 00:27:57 +01:00
..
netxen netxen: remove timespec usage 2017-11-30 09:26:31 -05:00
qed qed: use kzalloc instead of kmalloc and memset 2017-11-16 10:49:00 +09:00
qede net: xdp: make the stack take care of the tear down 2017-12-03 00:27:57 +01:00
qlcnic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlge Merge branch 'akpm' (patches from Andrew) 2017-11-15 19:42:40 -08:00
Kconfig qed: Fix iWARP out of order flow 2017-10-19 12:46:43 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla3xxx.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
qla3xxx.h