RADIUS: Add EACCES to list of recognized send() errno values
authorJouni Malinen <j@w1.fi>
Thu, 24 Dec 2015 10:43:05 +0000 (12:43 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Dec 2015 10:43:05 +0000 (12:43 +0200)
commita67e7e533ab542c0faa43758541c3bbed5bae6b6
tree366e3bb99af7cef5134fd0a43d4aebfd7e93527e
parent44f4394296d567607c4ff0182eb157e26ec5c052
RADIUS: Add EACCES to list of recognized send() errno values

This allows RADIUS failover to be performed if send() return EACCES
error which is what happens after a recent Linux kernel commit
0315e382704817b279e5693dca8ab9d89aa20b3f ('net: Fix behaviour of
unreachable, blackhole and prohibit') for a local sender when route type
is prohibit.

This fixes the hwsim test case radius_failover when running against a
kernel build that includes that commit.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_client.c