fragattacks/src/l2_packet
Jouni Malinen e47ee249bc l2_packet: Fix l2_packet_none (hostapd default)
The sample code here ended up trying to register an eloop socket with fd
== -1. This was not really ever supposed to be used, but it is now also
hitting an assert in eloop. Skip the unnecessary
eloop_register_read_sock() to avoid this.

This was causing issues for hostapd since CONFIG_L2_PACKET is not set by
default. If CONFIG_RSN_PREAUTH=y was not used for CONFIG_L2_PACKET was
not set in .config explicitly, the defaul use of l2_packet_none.c ended
up hitting the newly added assert() in eloop.

Signed-off-by: Jouni Malinen <j@w1.fi>
2014-04-14 23:04:55 +03:00
..
l2_packet_freebsd.c Update license notification in files initially contributed by Sam 2012-06-30 19:36:04 +03:00
l2_packet_linux.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
l2_packet_ndis.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
l2_packet_none.c l2_packet: Fix l2_packet_none (hostapd default) 2014-04-14 23:04:55 +03:00
l2_packet_pcap.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
l2_packet_privsep.c Make bind failure messages unique 2012-04-06 12:10:36 +03:00
l2_packet_winpcap.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
l2_packet.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00