Files
linux/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
2021-01-25 18:44:44 +01:00
2022-04-19 13:13:47 +01:00
2021-11-01 13:36:08 +00:00
2022-06-03 20:09:27 +08:00
2020-08-12 10:58:00 -07:00
2020-10-09 12:47:02 -06:00
2021-11-26 16:48:59 +01:00
2022-06-03 20:09:27 +08:00
2022-04-04 08:55:23 +02:00
2021-10-07 13:51:11 +02:00
2021-02-08 13:01:24 +01:00
2022-03-11 08:28:05 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2022-03-01 18:29:27 -08:00
2022-06-03 20:09:27 +08:00
2021-03-10 09:34:06 +01:00
2020-08-18 15:44:44 +02:00
2021-10-14 23:06:28 +02:00
2022-05-04 22:50:01 +02:00
2021-07-06 10:37:46 -05:00
2021-03-10 09:34:06 +01:00
2021-01-07 16:17:32 +01:00
2022-05-31 12:44:29 -04:00
2021-06-12 13:16:45 -07:00