[Bug 255047] race bug with mount generating same fsid for different mount points

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 06 Nov 2022 21:28:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255047

--- Comment #2 from Olivier Cochard <olivier@freebsd.org> ---
Source of the problem in vfs_getnewfsid() in sys/kern/vfs_subr.c that has this
comment:

  * Keep in mind that several mounts may be running in parallel.  Starting
  * the search one past where the previous search terminated is both a
  * micro-optimization and a defense against returning the same fsid to
  * different mounts.


This protection doesn't work here.

-- 
You are receiving this mail because:
You are the assignee for the bug.