]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfrm: esp: ipv4: fix up flags setting
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2026 14:26:10 +0000 (16:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2026 14:31:16 +0000 (16:31 +0200)
commitfe785bb3a8096dffcc4048a85cd0c83337eeecad
treecead3f7e5f6c0d717e9653a43660e3622956e7c9
parent7e75ef31ddc90089f78a67b7327c9552fd3786d8
xfrm: esp: ipv4: fix up flags setting

In commit ab8b995323e5 ("xfrm: esp: avoid in-place decrypt on shared skb
frags") in the 5.15.y tree, the tx_flags variable was set, instead of
flags.  This was due to me backporting the 6.1.y version of Ben's
version of the backport and not realizing the variable needed to be
different, so this was my fault, not his.

Link: https://lore.kernel.org/r/1b941a1353791ddd6fd75fb8e68b377367d689ff.camel@oracle.com
Reported-by: Dominik Grzegorzek <dominik.grzegorzek@oracle.com>
Reported-by: Massimiliano Pellizzer <mpellizzer.dev@gmail.com>
Cc: Ben Hutchings <benh@debian.org>
Fixes: ab8b995323e5 ("xfrm: esp: avoid in-place decrypt on shared skb frags")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ip_output.c