diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2024-09-19 10:57:46 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-09-21 03:26:10 +0200 |
commit | b54f1606cbe06d5569477b326c3675cb653fd49d (patch) | |
tree | 0f83585f69159635779da4a95e8501b962558576 /drivers/char/ppdev.c | |
parent | net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition (diff) | |
download | wireguard-linux-stable.tar.xz wireguard-linux-stable.zip |
The memory for netdev_priv is allocated using kvzalloc in
alloc_netdev_mqs before rtnl_link_ops->setup is called so there is no
need to zero it again in wg_setup.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char/ppdev.c')
0 files changed, 0 insertions, 0 deletions