Re: [PATCH] nl80211: Fix RTM NEW/DELLINK IFNAME copy

Jouni Malinen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Wed, Mar 18, 2020 at 05:58:37PM +0800, Ouden Lin wrote:
> If the kernel rtm_newlink or rtm_dellink send the max length of IFNAME,
> then the ifname will not copy from RTA_DATA (IFLA_IFNAME)
> in function wpa_driver_nl80211_event_rtm_addlink () and
> wpa_driver_nl80211_event_rtm_dellink (). Because the
> RTA_PAYLOAD (IFLA_IFNAME) length already include the NULL terminaled,
> that equal the IFNAMSIZ.
> 
> This patch will fixed the condition when IFNAME reach max size.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.