summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <fmancera@suse.de>2026-02-25 16:37:58 +0300
committerJakub Kicinski <kuba@kernel.org>2026-02-28 06:08:54 +0300
commit9ff2d2a9837015ff4b3579b028aeae8c180aa8d3 (patch)
tree528459d62ba2cc70abeb7ad95bf586dbefc61f6c /include/uapi/linux
parente8e83b67960c20a9e60d4181631509d59f03488b (diff)
downloadlinux-9ff2d2a9837015ff4b3579b028aeae8c180aa8d3.tar.xz
ipv6: discard fragment queue earlier if there is malformed datagram
Currently the kernel IPv6 implementation is not dicarding the fragment queue upon receiving a IPv6 fragment that is not 8 bytes aligned. It relies on queue expiration to free the queue. While RFC 8200 section 4.5 does not explicitly mention that the rest of fragments must be discarded, it does not make sense to keep them. The parameter problem message is sent regardless that. In addition, if the sender is able to re-compose the datagram so it is 8 bytes aligned it would qualify as a new whole datagram not fitting into the same fragment queue. The same situation happens if segment end is exceeding the IPv6 maximum packet length. The sooner we can free resources the better during reassembly, the better. Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Link: https://patch.msgid.link/20260225133758.4553-1-fmancera@suse.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions