]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipv4: recompile ip options in ipv4_link_failure
authorStephen Suryaputra <ssuryaextr@gmail.com>
Fri, 12 Apr 2019 20:19:27 +0000 (16:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:30:30 +0000 (09:30 +0200)
commit6c2fa855d8178699706b1192db2f1f8102b0ba1e
treebb03c5d666fbee910c9b13b992253dd97cd113f1
parentc63dcecbc234de4e80d1f788cd3c8ef60024f75b
ipv4: recompile ip options in ipv4_link_failure

[ Upstream commit ed0de45a1008991fdaa27a0152befcb74d126a8b ]

Recompile IP options since IPCB may not be valid anymore when
ipv4_link_failure is called from arp_error_report.

Refer to the commit 3da1ed7ac398 ("net: avoid use IPCB in cipso_v4_error")
and the commit before that (9ef6b42ad6fd) for a similar issue.

Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/route.c