Commit 84c4a9dfbf430861e7588d95ae3ff61535dca351
Committed by
David S. Miller
1 parent
5dbd506843
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
xfrm6: release dev before returning error
We forget to call dev_put() on error path in xfrm6_fill_dst(), its caller doesn't handle this. Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
net/ipv6/xfrm6_policy.c