Searched hist:"67 a63387" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/xfrm/ |
H A D | xfrm_device.c | 67a63387 Mon Sep 04 03:59:55 CDT 2017 Steffen Klassert <steffen.klassert@secunet.com> xfrm: Fix negative device refcount on offload failure.
Reset the offload device at the xfrm_state if the device was not able to offload the state. Otherwise we drop the device refcount twice.
Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Reported-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> 67a63387 Mon Sep 04 03:59:55 CDT 2017 Steffen Klassert <steffen.klassert@secunet.com> xfrm: Fix negative device refcount on offload failure. Reset the offload device at the xfrm_state if the device was not able to offload the state. Otherwise we drop the device refcount twice. Fixes: d77e38e612a0 ("xfrm: Add an IPsec hardware offloading API") Reported-by: Shannon Nelson <shannon.nelson@oracle.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
|