]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: exthdrs: recompute network header pointer once
authorJustin Iurman <justin.iurman@gmail.com>
Tue, 2 Jun 2026 21:30:33 +0000 (23:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 02:14:56 +0000 (19:14 -0700)
commitee5aee77bcba421fd2830e5036a18c206f7c2844
treecb759344170a26c347eb3f5a5c3dc888c22abe4b
parent1681cb1bde051c3b9ebbd337c0bfdd3e74167b2f
ipv6: exthdrs: recompute network header pointer once

In ip6_parse_tlv(), recompute the network header pointer once regardless
of the option processed (Hbh or Dest), as missing recomputation for
specific options has caused issues in the past.

Signed-off-by: Justin Iurman <justin.iurman@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260602213033.12244-1-justin.iurman@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/exthdrs.c