pull-request: bpf-next 2026-04-01

Martin KaFai Lau
2026-04-01T23:40:29Z

Hi David, hi Jakub, hi Paolo, hi Eric,

The following pull-request contains BPF updates for your *net-next* tree.

We've added 2 non-merge commits during the last 2 day(s) which contain
a total of 3 files changed, 139 insertions(+), 23 deletions(-).

The main changes are:

1) skb_dst_drop(skb) when bpf prog does a encap or decap,
from Jakub Kicinski

Please consider pulling these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev

Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Daniel Borkmann, Willem de Bruijn

----------------------------------------------------------------

The following changes since commit cf0d9080c6f795bc6be08babbffa29b62c06e9b0:

Merge branch 'net-hsr-subsystem-cleanups-and-modernization' (2026-03-29 14:37:53 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git tags/for-netdev

for you to fetch changes up to 64c535db769e9ab917343d61045802e832d621ed:

selftests/bpf: Test that dst is cleared on same-protocol encap (2026-03-30 15:52:25 -0700)

----------------------------------------------------------------
bpf-next-for-netdev

----------------------------------------------------------------
Jakub Kicinski (2):
net: Clear the dst when performing encap / decap
selftests/bpf: Test that dst is cleared on same-protocol encap

net/core/filter.c | 50 ++++++++++---------
.../selftests/bpf/prog_tests/test_dst_clear.c | 55 +++++++++++++++++++++
tools/testing/selftests/bpf/progs/test_dst_clear.c | 57 ++++++++++++++++++++++
3 files changed, 139 insertions(+), 23 deletions(-)
create mode 100644 tools/testing/selftests/bpf/prog_tests/test_dst_clear.c
create mode 100644 tools/testing/selftests/bpf/progs/test_dst_clear.c