Author: nbd Date: 2015-03-27 15:54:41 +0100 (Fri, 27 Mar 2015) New Revision: 45060
Added: trunk/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch Log: hostapd: disable the bridge packet receive workaround, it is unnecessary on openwrt and could potentially harm performance Signed-off-by: Felix Fietkau <[email protected]> Added: trunk/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch =================================================================== --- trunk/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch (rev 0) +++ trunk/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch 2015-03-27 14:54:41 UTC (rev 45060) @@ -0,0 +1,12 @@ +--- a/src/l2_packet/l2_packet_linux.c ++++ b/src/l2_packet/l2_packet_linux.c +@@ -307,8 +307,7 @@ struct l2_packet_data * l2_packet_init_b + + l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback, + rx_callback_ctx, l2_hdr); +- if (!l2) +- return NULL; ++ return l2; + + /* + * The Linux packet socket behavior has changed over the years and there _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
