aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorHarold Huang <[email protected]>2022-03-03 10:24:40 +0800
committerJakub Kicinski <[email protected]>2022-03-02 22:00:59 -0800
commit74a335a07a17d131b9263bfdbdcb5e40673ca9ca (patch)
tree0b6e1fe55e27bbca846fb3db4bad717e0bf699b9 /scripts/clang-tools/gen_compile_commands.py
parentfa452e0a609a038e5ef9d2e042bb80e08e1af7af (diff)
tuntap: add sanity checks about msg_controllen in sendmsg
In patch [1], tun_msg_ctl was added to allow pass batched xdp buffers to tun_sendmsg. Although we donot use msg_controllen in this path, we should check msg_controllen to make sure the caller pass a valid msg_ctl. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe8dd45bb7556246c6b76277b1ba4296c91c2505 Reported-by: Eric Dumazet <[email protected]> Suggested-by: Jason Wang <[email protected]> Signed-off-by: Harold Huang <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions