diff options
author | Jason A. Donenfeld <[email protected]> | 2022-03-01 20:22:39 +0100 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2022-03-12 18:00:56 -0700 |
commit | f3c2682bad7bc6033c837e9c66e5af881fe8d465 (patch) | |
tree | f0101c73dee541fd4cd6e599e26f5e5b1195190e /net/lapb/lapb_subr.c | |
parent | 5acd35487dc911541672b3ffc322851769c32a56 (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