[PATCH net 0/3] {net,bpf}: nd_tbl fixes for when ipv6.disable=1

Ricardo B. Marlière posted 3 patches 1 month, 2 weeks ago
There is a newer version of this series
drivers/net/bonding/bond_main.c | 4 ++++
net/core/filter.c               | 7 +++++++
2 files changed, 11 insertions(+)
[PATCH net 0/3] {net,bpf}: nd_tbl fixes for when ipv6.disable=1
Posted by Ricardo B. Marlière 1 month, 2 weeks ago
Hi,

In line with [1] [2], I'm sending these small fixes for similar crashes.

Thanks,
-	Ricardo.

[1] https://lore.kernel.org/netdev/20260227112701.3990-1-fmancera@suse.de
[2] https://lore.kernel.org/netdev/20260226234059.19402-1-fmancera@suse.de

Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
Ricardo B. Marlière (3):
      bpf: bpf_out_neigh_v4: Fix nd_tbl NULL dereference when IPv6 is disabled
      bpf: bpf_out_neigh_v6: Fix nd_tbl NULL dereference when IPv6 is disabled
      net: bonding: Fix nd_tbl NULL dereference when IPv6 is disabled

 drivers/net/bonding/bond_main.c | 4 ++++
 net/core/filter.c               | 7 +++++++
 2 files changed, 11 insertions(+)
---
base-commit: dabffd08545ffa1d7183bc45e387860984025291
change-id: 20260228-net-nd_tbl_fixes-ce81ca1e0bf2

Best regards,
-- 
Ricardo B. Marlière <rbm@suse.com>

Re: [PATCH net 0/3] {net,bpf}: nd_tbl fixes for when ipv6.disable=1
Posted by Fernando Fernandez Mancera 1 month, 2 weeks ago
On 2/28/26 6:46 PM, Ricardo B. Marlière wrote:
> Hi,
> 
> In line with [1] [2], I'm sending these small fixes for similar crashes.
> 
> Thanks,
> -	Ricardo.
> 
> [1] https://lore.kernel.org/netdev/20260227112701.3990-1-fmancera@suse.de
> [2] https://lore.kernel.org/netdev/20260226234059.19402-1-fmancera@suse.de
>
> Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
> ---
> Ricardo B. Marlière (3):
>        bpf: bpf_out_neigh_v4: Fix nd_tbl NULL dereference when IPv6 is disabled
>        bpf: bpf_out_neigh_v6: Fix nd_tbl NULL dereference when IPv6 is disabled
>        net: bonding: Fix nd_tbl NULL dereference when IPv6 is disabled
> 
>   drivers/net/bonding/bond_main.c | 4 ++++
>   net/core/filter.c               | 7 +++++++
>   2 files changed, 11 insertions(+)
> ---

Saving some time here for reviews: 
https://lore.kernel.org/netdev/20260301155413.GA755501@shredder/ I guess 
this feedback applies here too.