Re: [PATCH 04/18] MLD STA: Add support to fetch MLO connection info to wpa_s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Jul 28, 2022 at 07:15:33PM +0530, Veerendranath Jakkam wrote:
> Add support to fetch MLO connection info from driver to wpa_s instance
> of corresponding MLD STA interface.

> diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
> +static void wpa_supplicant_update_link_bss(struct wpa_supplicant *wpa_s,

> +	if (bss)
> +		wpa_s->links[link_id].bss = bss;

This looks suspicious since the bss entry could be removed from memory
and the links[].bss could become stale. If I understood correctly, patch
5/18 is protecting against this. If that is correct, that patch should
likely be moved to be before this patch 4/18. Or if that cannot be done
due to some dependencies, these patches may need to be merged into a
single one.

Jouni Malinen                                            PGP id EFC895FA

Hostap mailing list

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux