]> git.itanic.dy.fi Git - linux-stable/commit
vsprintf: initialize siphash key using notifier
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 16 Nov 2022 16:16:38 +0000 (17:16 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 22 Nov 2022 13:53:31 +0000 (14:53 +0100)
commit898f1e5c3741ccabda5653f180051cd4aeff3794
tree7d4ed47222cee311e7eabe508396ab24cac82cfd
parentbbc7e1bed1f5297581325e739f0e47f650a386fa
vsprintf: initialize siphash key using notifier

Rather than polling every second, use the new notifier to do this at
exactly the right moment.

Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
lib/vsprintf.c