aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/char/ppdev.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2024-09-19 10:57:46 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-09-21 03:26:10 +0200
commitb54f1606cbe06d5569477b326c3675cb653fd49d (patch)
tree0f83585f69159635779da4a95e8501b962558576 /drivers/char/ppdev.c
parentnet: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition (diff)
downloadwireguard-linux-stable.tar.xz
wireguard-linux-stable.zip
wireguard: device: omit unnecessary memset of netdev private dataHEADstable
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