summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2022-11-03 14:28:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-25 17:40:16 +0100
commita597f8f710b3ecdbf1ad4430ec287febdd42d9c5 (patch)
tree42b7eadea619da6e4c8445d86860d2f3eb6c510f /include/uapi
parente84d135f808e215f73a087092ff775dccaab14a2 (diff)
net: fman: Unregister ethernet device on removal
[ Upstream commit b7cbc6740bd6ad5d43345a2504f7e4beff0d709f ] 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 <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20221103182831.2248833-1-sean.anderson@seco.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions