Commit 5e84d5b3 authored by Abin Joseph's avatar Abin Joseph Committed by Jakub Kicinski
Browse files

net: macb: Add shutdown operation support



Implement the shutdown hook to ensure clean and complete deactivation of
MACB controller. The shutdown sequence is protected with 'rtnl_lock()'
to serialize access and prevent race conditions while detaching and
closing the network device. This ensure a safe transition when the Kexec
utility calls the shutdown hook, facilitating seamless loading and
booting of a new kernel from the currently running one.

Signed-off-by: default avatarAbin Joseph <abin.joseph@amd.com>
Link: https://patch.msgid.link/20250610114111.1708614-1-abin.joseph@amd.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 48c15e97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment