Loading net/xfrm/xfrm_policy.c +3 −4 Original line number Diff line number Diff line Loading @@ -1127,7 +1127,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, break; } } if (ret) xfrm_pol_hold(ret); fail: read_unlock_bh(&net->xfrm.xfrm_policy_lock); Loading Loading @@ -3211,7 +3211,6 @@ static struct xfrm_policy *xfrm_migrate_policy_find(const struct xfrm_selector * } } if (ret) xfrm_pol_hold(ret); read_unlock_bh(&net->xfrm.xfrm_policy_lock); Loading Loading
net/xfrm/xfrm_policy.c +3 −4 Original line number Diff line number Diff line Loading @@ -1127,7 +1127,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, break; } } if (ret) xfrm_pol_hold(ret); fail: read_unlock_bh(&net->xfrm.xfrm_policy_lock); Loading Loading @@ -3211,7 +3211,6 @@ static struct xfrm_policy *xfrm_migrate_policy_find(const struct xfrm_selector * } } if (ret) xfrm_pol_hold(ret); read_unlock_bh(&net->xfrm.xfrm_policy_lock); Loading