xfrm: Fix leak of dev tracker
At the stage of direction checks, the netdev reference tracker is already initialized, but released with wrong *_put() call. Fixes: 919e43fa ("xfrm: add an interface to offload policy") Signed-off-by:Leon Romanovsky <leonro@nvidia.com> Reviewed-by:
Simon Horman <simon.horman@corigine.com> Reviewed-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com>
Showing
Please register or sign in to comment