On Tue, 2025-04-08 at 08:08 +0000, Hangbin Liu wrote:
Hi Cosmin,
Thanks a lot for the fixes. With your patch applied. I see the bond_ipsec_del_sa() still has WARN_ON(xs->xso.real_dev != real_dev);
Do you think if we still has this possibility? If yes, should we do xdo_dev_state_delete() on xs->xso.real_dev or real_dev?
You are right, the WARN_ON doesn't make sense any more. bond_ipsec_del_sa() can get the same treatment as bond_ipsec_free_sa(), I'll do so in the next version.
Cosmin.