]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Apr 2019 00:23:46 +0000 (17:23 -0700)
commit3dbd19f3ed3863e6927fa24f98ba68e71ab6030a
tree1fcaadbdfe0553aef6ea1ef4e24c929c76dd6666
parent0cc8b57daf1c23c217fcc08be953f565ab5cebbc
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 51a0bb5d9767 ("net: avoid use IPCB in cipso_v4_error")
and the commit before that (c097ce2e203e) 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