aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-03-01 20:22:39 +0100
committerJason A. Donenfeld <[email protected]>2022-03-12 18:00:56 -0700
commitf3c2682bad7bc6033c837e9c66e5af881fe8d465 (patch)
treef0101c73dee541fd4cd6e599e26f5e5b1195190e /net/lapb/lapb_subr.c
parent5acd35487dc911541672b3ffc322851769c32a56 (diff)
random: provide notifier for VM fork
Drivers such as WireGuard need to learn when VMs fork in order to clear sessions. This commit provides a simple notifier_block for that, with a register and unregister function. When no VM fork detection is compiled in, this turns into a no-op, similar to how the power notifier works. Cc: Dominik Brodowski <[email protected]> Cc: Theodore Ts'o <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions