Wei Yongjun 533555e5cb xfrm: Fix error return code in xfrm_output_one()
xfrm_output_one() does not return a error code when there is
no dst_entry attached to the skb, it is still possible crash
with a NULL pointer dereference in xfrm_output_resume(). Fix
it by return error code -EHOSTUNREACH.

Fixes: 9e1437937807 ("xfrm: Fix NULL pointer dereference when skb_dst_force clears the dst_entry.")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2018-10-28 11:00:26 +01:00
..
2018-10-23 10:57:06 -07:00
2018-07-24 14:10:42 -07:00
2018-08-13 20:45:49 -07:00
2018-10-22 19:59:20 -07:00
2018-10-26 13:05:26 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00