aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-08-15 03:32:26 +0000
committerAl Viro <[email protected]>2025-08-19 16:00:07 +0000
commitda025cdb97a23c1916d8491925b878f3e1de0bca (patch)
tree63cec32b7b9a1211bc67df47e6837f556fc87828 /drivers/net/ethernet/intel/igc/igc_main.c
parentfix the softlockups in attach_recursive_mnt() (diff)
downloadkernel-da025cdb97a23c1916d8491925b878f3e1de0bca.tar.gz
kernel-da025cdb97a23c1916d8491925b878f3e1de0bca.zip
propagate_umount(): only surviving overmounts should be reparented
... as the comments in reparent() clearly say. As it is, we reparent *all* overmounts of the mounts being taken out, including those that are taken out themselves. It's not only a potentially massive slowdown (on a pathological setup we might end up with O(N^2) time for N mounts being kicked out), it can end up with incorrect ->overmount in the surviving mounts. Fixes: f0d0ba19985d "Rewrite of propagate_umount()" Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions