Yonghong Song
2a00a39854
UPSTREAM: bpf: Enable bpf_iter targets registering ctx argument types
...
Commit b121b341e598 ("bpf: Add PTR_TO_BTF_ID_OR_NULL
support") adds a field btf_id_or_null_non0_off to
bpf_prog->aux structure to indicate that the
first ctx argument is PTR_TO_BTF_ID reg_type and
all others are PTR_TO_BTF_ID_OR_NULL.
This approach does not really scale if we have
other different reg types in the future, e.g.,
a pointer to a buffer.
This patch enables bpf_iter targets registering ctx argument
reg types which may be different from the default one.
For example, for pointers to structures, the default reg_type
is PTR_TO_BTF_ID for tracing program. The target can register
a particular pointer type as PTR_TO_BTF_ID_OR_NULL which can
be used by the verifier to enforce accesses.
Change-Id: Ie3f4330f281b749079ac29bad9b6de2338cd1f1a
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200513180221.2949882-1-yhs@fb.com
2026-01-14 17:41:40 -08:00
..
ila
net: ipv6: fix missing dst ref drop in ila lwtunnel
2025-03-13 12:43:30 +01:00
netfilter
This is the 5.4.295 stable release
2025-06-30 08:05:33 +00:00
addrconf.c
BACKPORT: crypto: lib/sha1 - rename "sha" to "sha1"
2025-12-23 13:36:17 -08:00
addrconf_core.c
addrlabel.c
af_inet6.c
UPSTREAM: bpf: Allow any port in bpf_bind helper
2025-12-23 13:36:18 -08:00
ah6.c
net: ipv6: fix field-spanning memcpy warning in AH output
2025-12-03 12:45:09 +01:00
anycast.c
calipso.c
calipso: Fix null-ptr-deref in calipso_req_{set,del}attr().
2025-06-27 11:02:57 +01:00
datagram.c
esp6.c
esp6_offload.c
exthdrs.c
exthdrs_core.c
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().
2025-06-04 14:32:34 +02:00
fou6.c
icmp.c
inet6_connection_sock.c
inet6_hashtables.c
ip6_checksum.c
ip6_fib.c
UPSTREAM: bpf: Enable bpf_iter targets registering ctx argument types
2026-01-14 17:41:40 -08:00
ip6_flowlabel.c
ip6_gre.c
ip6_icmp.c
This is the 5.4.299 stable release
2025-09-10 05:55:28 +00:00
ip6_input.c
BACKPORT: bpf: Add socket assign support
2025-12-23 13:36:11 -08:00
ip6_offload.c
ipv6: reject malicious packets in ipv6_gso_segment()
2025-08-28 16:21:22 +02:00
ip6_offload.h
ip6_output.c
ipv6: prevent possible UAF in ip6_xmit()
2025-01-09 13:23:33 +01:00
ip6_tunnel.c
net/ip6_tunnel: Prevent perpetual tunnel growth
2025-10-29 13:59:56 +01:00
ip6_udp_tunnel.c
ip6_vti.c
ip6mr.c
ipmr: convert /proc handlers to rcu_read_lock()
2024-12-14 19:44:33 +01:00
ipcomp6.c
ipv6_sockglue.c
tcp: Fix data races around icsk->icsk_af_ops.
2024-07-05 09:08:32 +02:00
Kconfig
Makefile
mcast.c
mcast_snoop.c
mip6.c
ndisc.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
netfilter.c
netfilter: bridge: Move specific fragmented packet to slow_path instead of dropping it
2025-06-27 11:02:46 +01:00
output_core.c
ping.c
proc.c
protocol.c
raw.c
ipv6: np->rxpmtu race annotation
2025-12-03 12:45:13 +01:00
reassembly.c
route.c
UPSTREAM: bpf: Enable bpf_iter targets registering ctx argument types
2026-01-14 17:41:40 -08:00
seg6.c
ipv6: sr: fix invalid unregister error path
2024-06-16 13:28:38 +02:00
seg6_hmac.c
ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add
2025-08-28 16:21:37 +02:00
seg6_iptunnel.c
ipv6: sr: block BH in seg6_output_core() and seg6_input_core()
2024-07-05 09:08:11 +02:00
seg6_local.c
sit.c
syncookies.c
sysctl_net_ipv6.c
BACKPORT: sysctl: pass kernel pointers to ->proc_handler
2025-12-23 13:36:15 -08:00
tcp_ipv6.c
Merge tag 'ASB-2025-03-05_11-5.4' into android13-5.4-lahaina
2025-04-12 09:31:28 +00:00
tcpv6_offload.c
tunnel6.c
udp.c
UPSTREAM: net: Track socket refcounts in skb_steal_sock()
2025-12-23 13:36:11 -08:00
udp_impl.h
udp_offload.c
UPSTREAM: udp: do not transition UDP GRO fraglist partial checksums to unnecessary
2025-03-10 16:20:02 +00:00
udplite.c
xfrm6_input.c
xfrm: Preserve vlan tags for transport mode software GRO
2024-05-17 11:43:53 +02:00
xfrm6_output.c
xfrm6_policy.c
xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
2024-07-05 09:08:22 +02:00
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c