Home
last modified time | relevance | path

Searched hist:"152 afb9b45a8af4a93699a15925c392a28182a26" (Results 1 – 1 of 1) sorted by relevance

/linux/net/xfrm/
H A Dxfrm_user.cdiff 152afb9b45a8af4a93699a15925c392a28182a26 Sun Apr 30 15:51:19 CEST 2017 Ilan Tayari <ilant@mellanox.com> xfrm: Indicate xfrm_state offload errors

Current code silently ignores driver errors when configuring
IPSec offload xfrm_state, and falls back to host-based crypto.

Fail the xfrm_state creation if the driver has an error, because
the NIC offloading was explicitly requested by the user program.

This will communicate back to the user that there was an error.

Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API")
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>