]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-IKEv2 peer: Fix fragmentation reassembly
authorJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 22:40:30 +0000 (00:40 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 20 Dec 2014 22:48:24 +0000 (00:48 +0200)
ret->ignore needs to be cleared to FALSE when sending fragment ack
message to avoid ignoring the fragment.

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

index cbdf931c4ebe1b4cb02a4cab1d8fcaad6e14013f..b5ef71bac3ba426e5dbb53742c8b815748078e5e 100644 (file)
@@ -322,6 +322,7 @@ static struct wpabuf * eap_ikev2_process_fragment(struct eap_ikev2_data *data,
                           (unsigned long) wpabuf_tailroom(data->in_buf));
        }
 
+       ret->ignore = FALSE;
        return eap_ikev2_build_frag_ack(id, EAP_CODE_RESPONSE);
 }