Re: [PATCH net v5 1/2] bonding: fix null-ptr-deref in bond_rr_gen_slave_id()

From: Jiayuan Chen

Date: Fri Mar 20 2026 - 03:33:46 EST



On 3/12/26 7:02 PM, Jiayuan Chen wrote:
f who calls it, preventing similar crashes from other potential code paths.




Sorry for the noise.

Could we include both:
1. Add link status check in xdp
2. Adding a defensive null check in bond_rr_gen_slave_id()


This way, the bond layer is robust regardless of who calls it,
preventing similar crashes from other potential code paths.