aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-12-13 17:25:18 +0000
committerJakub Kicinski <[email protected]>2024-12-15 13:26:47 -0800
commitee76746387f6233bdfa93d7406990f923641568f (patch)
tree9cc1589a192666be8a8a63c313c7188522d2a167 /tools/net/ynl/lib/ynl.py
parent2d5df3a680ffdaf606baa10636bdb1daf757832e (diff)
netdevsim: prevent bad user input in nsim_dev_health_break_write()
If either a zero count or a large one is provided, kernel can crash. Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters") Reported-by: [email protected] Closes: https://lore.kernel.org/netdev/[email protected]/T/#u Signed-off-by: Eric Dumazet <[email protected]> Cc: Jiri Pirko <[email protected]> Reviewed-by: Joe Damato <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions