fragattacks/src
Mohammed Shafi Shajakhan 67deaa582d l2_packet: Add build option to disable Linux packet socket workaround
Linux packet socket workaround(*) has an impact in performance when the
workaround socket needs to be kept open to receive EAPOL frames. While
this is normally avoided with a kernel that has the issue addressed by
closing the workaround packet socket when detecting a frame through the
main socket, it is possible for that mechanism to not be sufficient,
e.g., when an open network connection (no EAPOL frames) is used.

Add a build option (CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y) to disable the
workaround. This build option is disabled by default and can be enabled
explicitly on distributions which have an older kernel or a fix for the
kernel regression.

Also remove the unused variable num_rx.

(*) Linux kernel commit 576eb62598f10c8c7fd75703fe89010cdcfff596
('bridge: respect RFC2863 operational state') from 2012 introduced a
regression for using wpa_supplicant with EAPOL frames and a station
interface in a bridge.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
2015-10-25 19:56:53 +02:00
..
ap GAS server: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
common SAE: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
crypto tests: Add TEST_FAIL() condition to omac1_aes_vector() 2015-10-17 20:40:36 +03:00
drivers privsep: Avoid undefined behavior in pointer arithmetic 2015-10-25 19:37:16 +02:00
eap_common EAP-GPSK: Check HMAC-SHA256 result in GKDF and MIC 2015-10-17 20:40:01 +03:00
eap_peer EAP-IKEv2 peer: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +03:00
eap_server EAP-IKEv2 server: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +03:00
eapol_auth Remove unreachable PMKSA cache entry addition on Access-Accept 2015-10-14 18:43:26 +03:00
eapol_supp Add build option to remove all internal RC4 uses 2015-08-02 16:52:56 +03:00
fst FST: Mark fst_ies buffer const 2015-08-03 17:40:30 +03:00
l2_packet l2_packet: Add build option to disable Linux packet socket workaround 2015-10-25 19:56:53 +02:00
p2p P2P: Avoid undefined behavior in pointer arithmetic 2015-10-24 21:43:54 +03:00
pae MACsec: Update protect frames and replay on reauthentication 2014-12-09 16:56:10 +02:00
radius RADIUS: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
rsn_supp RSN: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
tls TLS: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:34:59 +02:00
utils PCSC: Avoid undefined behavior in pointer arithmetic 2015-10-25 15:35:00 +02:00
wps WPS: Avoid undefined behavior in pointer arithmetic 2015-10-18 11:37:47 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00