[git pull] a couple of fixes

From: Al Viro
Date: Wed May 18 2022 - 12:43:23 EST


vhost race fix + percpu_ref_init-caused cgroup double-free fix
(the latter had manifested as buggered struct mount refcounting -
those are also using percpu data structures, but anything that does
percpu allocations could be hit)

The following changes since commit feb9c5e19e913b53cb536a7aa7c9f20107bb51ec:

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost (2022-05-10 11:15:05 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes

for you to fetch changes up to fb4554c2232e44d595920f4d5c66cf8f7d13f9bc:

Fix double fget() in vhost_net_set_backend() (2022-05-18 12:33:51 -0400)

----------------------------------------------------------------
Al Viro (2):
percpu_ref_init(): clean ->percpu_count_ref on failure
Fix double fget() in vhost_net_set_backend()

drivers/vhost/net.c | 15 +++++++--------
lib/percpu-refcount.c | 1 +
2 files changed, 8 insertions(+), 8 deletions(-)