Files
linux-stable-mirror/include/uapi/linux
Joanne Koong f8d3da4ef8 bpf: Add flags arg to bpf_dynptr_read and bpf_dynptr_write APIs
Commit 13bbbfbea7 ("bpf: Add bpf_dynptr_read and bpf_dynptr_write")
added the bpf_dynptr_write() and bpf_dynptr_read() APIs.

However, it will be needed for some dynptr types to pass in flags as
well (e.g. when writing to a skb, the user may like to invalidate the
hash or recompute the checksum).

This patch adds a "u64 flags" arg to the bpf_dynptr_read() and
bpf_dynptr_write() APIs before their UAPI signature freezes where
we then cannot change them anymore with a 5.19.x released kernel.

Fixes: 13bbbfbea7 ("bpf: Add bpf_dynptr_read and bpf_dynptr_write")
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/r/20220706232547.4016651-1-joannelkoong@gmail.com
2022-07-08 10:55:53 +02:00
..
2022-02-21 19:33:05 +00:00
2022-04-19 13:13:47 +01:00
2022-06-03 20:09:27 +08:00
2022-06-03 20:09:27 +08:00
2022-04-04 08:55:23 +02:00
2022-03-11 08:28:05 -08:00
2022-03-01 18:29:27 -08:00
2022-06-03 20:09:27 +08:00
2022-05-04 22:50:01 +02:00
2022-05-31 12:44:29 -04:00