Skip to content

Commit

Permalink
Merge branch 'for-5.1-fixes' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/tj/cgroup

Pull cgroup fix from Tejun Heo:
 "A patch to fix a RCU imbalance error in the devices cgroup
  configuration error path"

* 'for-5.1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  device_cgroup: fix RCU imbalance in error case
  • Loading branch information
torvalds committed Apr 20, 2019
2 parents 4c3f49a + 0fcc4c8 commit 371dd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ static int propagate_exception(struct dev_cgroup *devcg_root,
devcg->behavior == DEVCG_DEFAULT_ALLOW) {
rc = dev_exception_add(devcg, ex);
if (rc)
break;
return rc;
} else {
/*
* in the other possible cases:
Expand Down

0 comments on commit 371dd43

Please sign in to comment.