]> 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)
commit2c72e249096008bb3aed3ccd8b13eaba4ab0074c
tree1fcaadbdfe0553aef6ea1ef4e24c929c76dd6666
parent31553f8410505cbf0e28c1d3777a6cf364150447
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 accc485b1dfd ("net: avoid use IPCB in cipso_v4_error")
and the commit before that (0f3862150884) 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