diff options
author | Adrian Moreno <[email protected]> | 2024-07-10 19:10:04 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-11 18:11:31 -0700 |
commit | 8341eee81c794db0d8dd503c2b0ea2f55eba7334 (patch) | |
tree | 1149afadff005aa1581f3a4f1570a9dc888133c3 /drivers/usb/cdns3/cdns3-debug.h | |
parent | c9741a03dc8e491e57b95fba0058ab46b7e506da (diff) |
net: psample: fix flag being set in wrong skb
A typo makes PSAMPLE_ATTR_SAMPLE_RATE netlink flag be added to the wrong
sk_buff.
Fix the error and make the input sk_buff pointer "const" so that it
doesn't happen again.
Acked-by: Eelco Chaudron <[email protected]>
Fixes: 7b1b2b60c63f ("net: psample: allow using rate as probability")
Signed-off-by: Adrian Moreno <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Reviewed-by: Antoine Tenart <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions