aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2022-11-03 14:28:30 -0400
committerJakub Kicinski <[email protected]>2022-11-04 19:33:38 -0700
commitb7cbc6740bd6ad5d43345a2504f7e4beff0d709f (patch)
tree289cf0e154202ba526d62c472407b00cb56ee3c5 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentc3812c958cbf700939a9590af543ebb08b2fe5e4 (diff)
net: fman: Unregister ethernet device on removal
When the mac device gets removed, it leaves behind the ethernet device. This will result in a segfault next time the ethernet device accesses mac_dev. Remove the ethernet device when we get removed to prevent this. This is not completely reversible, since some resources aren't cleaned up properly, but that can be addressed later. Fixes: 3933961682a3 ("fsl/fman: Add FMan MAC driver") Signed-off-by: Sean Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions