[PATCH] BSD: If route socket overflows, sync drivers to system interfaces
Jouni Malinen
j at w1.fi
Sat Feb 6 08:58:11 EST 2021
On Fri, Jan 01, 2021 at 02:16:43PM +0000, Roy Marples wrote:
> Messages such as RTM_IFNFO or RTM_IFANNOUNCE could have been lost.
> As such, sync the state of our internal driver to the state of the
> system interfaces as reports by getifaddrs(2).
>
> This change requires the routing socket be placed in non-blocking
> mode. While here, set the routing and inet sockets to close on exec.
>
> BSD's that support SO_RERROR include NetBSD and DragonFly.
> There is a review underway to add this to FreeBSD.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list