[PATCH V2] Handle EAGAIN in wpa_supplicant_ctrl_iface_send

Jouni Malinen j
Wed Sep 25 13:21:59 PDT 2013

On Wed, Sep 25, 2013 at 10:58:08AM -0700, Ben Greear wrote:
> Have you tried just increasing the socket buffer sizes?  That would probably
> be easier and more efficient than keeping a pending queue in supplicant.

I haven't, but I don't think it would help either. The messages sent by
wpa_supplicant for clients that never receive them seem to be stuck
indefinitely and making the limit larger will just push out the
inevitable issue a bit further. If there were a way to make kernel drop
these eventually on some timeout that would obviously be helpful, but
I'm not sure what that would be for unconnected AF_UNIX datagram socket.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list