On 10/25/2023 3:33 AM, Jiazi Li wrote:
If cfg80211_update_assoc_bss_entry call rb_insert_bss re-insert bss failed because cmp_bss return 0, this bss->rbn will continue to hold expired data, such as __rd_parent_color. And this bss still in rdev->bss_list, maybe double erase in __cfg80211_bss_expire later. Double erase a rbtree node(with expired parent and color data) maybe corrupt rbtree, so add a in_rbtree flag to fix this issue. Signed-off-by: Jiazi Li <jiazi.li@xxxxxxxxxxxxx>
Note your Signed-off-by doesn't match your e-mail address in your e-mail header. From the actual e-mail source it seems Google is trashing your headers:
From: Jiazi Li <jqqlijiazi@xxxxxxxxx> X-Google-Original-From: Jiazi Li <jiazi.li@xxxxxxxxxxxxx> That needs to be resolved