]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv6: exthdrs: refresh nh pointer after ipv6_hop_jumbo()
authorJustin Iurman <justin.iurman@gmail.com>
Fri, 22 May 2026 11:20:13 +0000 (13:20 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 25 May 2026 18:08:00 +0000 (11:08 -0700)
commitd47548a36639095939f4747d4c43f2271366f565
tree4a6219fc9e1f35ee4db95635693c9e4d4a2c4ffd
parentf7b52afe3592eae66e160586b45a3f2242972c63
ipv6: exthdrs: refresh nh pointer after ipv6_hop_jumbo()

ipv6_hop_jumbo() calls pskb_trim_rcsum(), which can change skb pointers.
Let's recompute nh pointer to make sure any change won't mess things up.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Signed-off-by: Justin Iurman <justin.iurman@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260522112013.12342-1-justin.iurman@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/exthdrs.c