Skip to content
Commit d68f0866 authored by Wei Yongjun's avatar Wei Yongjun Committed by Gerrit Renker
Browse files

dccp: Fix sequence number check for ICMPv4 packets



The payload of ICMP message is a part of the packet sent by ourself,
so the sequence number check must use AWL and AWH, not SWL and SWH.

For example:
     Endpoint A                  Endpoint B

     DATA-ACK       -------->
     (SEQ=X)
                    <--------    ICMP (Fragmentation Needed)
                                 (SEQ=X)

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
parent 73f18fdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment