[PATCH] macsec_linux: Don't send NULL pointer to rtnl_link_delete

Jouni Malinen j at w1.fi
Sat Jun 6 13:47:57 PDT 2026


On Thu, May 07, 2026 at 10:57:24AM +0200, Andreas Westin wrote:
> If rtnl_link_add fails hostapd will still set created_link to true
> and also if rtnl_link_macsec_alloc fails the link pointer will be NULL
> and this is passed to rtnl_link_delete which crashes.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list