OSDN Git Service

ipv4: recompile ip options in ipv4_link_failure
authorStephen Suryaputra <ssuryaextr@gmail.com>
Fri, 12 Apr 2019 20:19:27 +0000 (16:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Apr 2019 00:23:46 +0000 (17:23 -0700)
commited0de45a1008991fdaa27a0152befcb74d126a8b
tree1fcaadbdfe0553aef6ea1ef4e24c929c76dd6666
parent9e550f015303a99a9395a838743bbeff94d4d49c
ipv4: recompile ip options in ipv4_link_failure

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>
net/ipv4/route.c