linux/drivers/net/bonding
Jakub Kicinski 184b5ddf82 bonding: fix the program leak when XDP is replaced
We need to release the reference on the old BPF prog, whether
we are going to no-prog, or replacing the prog with another.

Spotted by AI while running tests for the propagation series
(leaked programs were accumulating). Selftest will come in
the net-next series to avoid conflicts.

Fixes: 9e2ee5c7e7 ("net, bonding: Add XDP support to the bonding driver")
Fixes: 6d5f1ef838 ("bonding: Fix negative jump label count on nested bonding")
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Link: https://patch.msgid.link/20261001012639.298690-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-10-02 12:39:21 -07:00
..
bond_3ad.c bonding: no longer rely on RTNL in bond_fill_info() 2026-06-30 17:00:03 -07:00
bond_alb.c bonding: use skb_cow_head() in bond_do_alb_xmit() and rlb_arp_xmit() 2026-09-04 15:18:41 -07:00
bond_debugfs.c net: bonding: fix NULL deref in bond_debug_rlb_hash_show 2026-03-18 18:05:40 -07:00
bond_main.c bonding: fix the program leak when XDP is replaced 2026-10-02 12:39:21 -07:00
bond_netlink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-08-18 10:42:41 -07:00
bond_options.c net: bonding: annotate lockless writes with WRITE_ONCE() 2026-09-01 12:26:52 +02:00
bond_procfs.c bonding: annotate data-races in sysfs and procfs 2026-06-04 18:03:07 -07:00
bond_sysfs_slave.c bonding: 3ad: implement proper RCU rules for port->aggregator 2026-04-29 18:32:02 -07:00
bond_sysfs.c bonding: annotate data-races in sysfs and procfs 2026-06-04 18:03:07 -07:00
Makefile