diff options
| author | 2026-04-07 10:56:11 +0800 | |
|---|---|---|
| committer | 2026-04-12 08:42:28 -0700 | |
| commit | d48df7e7c3fb456d2dc907707a124dab8462eb19 (patch) | |
| tree | 3632b0ec69d1ee2cdb5a0200b4a9701754d5f547 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | net: ngbe: remove redundant macros (diff) | |
net: wangxun: replace busy-wait reset flag with kernel mutex
Replace the busy-wait loop using test_and_set_bit(WX_STATE_RESETTING)
with a proper per-device mutex to serialize reset operations.
The reset flag is reserved for other code paths (like watchdog), which
need tocheck if a reset is in process.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20260407025616.33652-5-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
