mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
RRB: Do not reorder locally delivered messages
Add new messages to the end of the l2_oui_queue instead of inserting them at the beginning so that the dl_list_for_each_safe() iteration in hostapd_oui_deliver_later() goes through the messages in the same order they were originally queued. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
4834c6869d
commit
7b1105afef
@ -740,7 +740,7 @@ static int hostapd_wpa_auth_oui_iter(struct hostapd_iface *iface, void *ctx)
|
||||
data->data_len = idata->data_len;
|
||||
data->oui_suffix = idata->oui_suffix;
|
||||
|
||||
dl_list_add(&hapd->l2_oui_queue, &data->list);
|
||||
dl_list_add_tail(&hapd->l2_oui_queue, &data->list);
|
||||
|
||||
if (!eloop_is_timeout_registered(hostapd_oui_deliver_later,
|
||||
hapd, NULL))
|
||||
|
Loading…
Reference in New Issue
Block a user