aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSteffen Klassert <[email protected]>2017-09-04 10:28:02 +0200
committerSteffen Klassert <[email protected]>2017-09-11 10:36:41 +0200
commitc5d4d7d83165ae863954b113c7f403d8b58febed (patch)
tree1f646750392b10eaa162ed8cbc3d4ba89328ba53 /lib/test-string_helpers.c
parent1f4f554a72be0d8c164c2f5bc6ba939a1c624fb4 (diff)
xfrm: Fix deletion of offloaded SAs on failure.
When we off load a SA, it gets pushed to the NIC before we can add it. In case of a failure, we don't delete this SA from the NIC. Fix this by calling xfrm_dev_state_delete on failure. Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Reported-by: Shannon Nelson <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions