Author: jmg
Date: Thu Sep 26 17:55:04 2013
New Revision: 255892
URL: http://svnweb.freebsd.org/changeset/base/255892

Log:
  it must be the last member, not might...
  
  Reviewed by:  attilio
  Approved by:  re (delphij, gjb)

Modified:
  head/sys/kern/kern_descrip.c

Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c        Thu Sep 26 17:54:58 2013        
(r255891)
+++ head/sys/kern/kern_descrip.c        Thu Sep 26 17:55:04 2013        
(r255892)
@@ -1518,7 +1518,7 @@ fdgrowtable(struct filedesc *fdp, int nf
 
        /*
         * In order to have a valid pattern for fget_unlocked()
-        * fdp->fd_nfiles might be the last member to be updated, otherwise
+        * fdp->fd_nfiles must be the last member to be updated, otherwise
         * fget_unlocked() consumers may reference a new, higher value for
         * fdp->fd_nfiles before to access the fdp->fd_ofiles array,
         * resulting in OOB accesses.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to