aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2021-11-25 13:00:17 -0500
committerMichael S. Tsirkin <[email protected]>2022-01-14 18:50:52 -0500
commit2076207128948b766ef1fe344e0444fc9271a847 (patch)
treeb8df7ec9d66851f4f5eb843a7d4b8b7c1a277b86 /net/lapb/lapb_timer.c
parentd9679d0013a66849f23057978f92e76b255c50aa (diff)
hwrng: virtio - unregister device before reset
unregister after reset is clearly wrong - device can be used while it's reset. There's an attempt to protect against that using hwrng_removed but it seems racy since access can be in progress when the flag is set. Just unregister, then reset seems simpler and cleaner. NB: we might be able to drop hwrng_removed in a follow-up patch. Signed-off-by: Laurent Vivier <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions