git: kernel - Fix incorrect assertion in lwkt_token_swap()

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 18 12:05:11 PST 2011


commit 84ecccb4cfc1af809c2a1b49edff92376ea38867
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 18 12:03:09 2011 -0800

    kernel - Fix incorrect assertion in lwkt_token_swap()
    
    * The bounds check for the two tokens was off by one, resulting in a crash
      under certain circumstances.

Summary of changes:
 sys/kern/lwkt_token.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/84ecccb4cfc1af809c2a1b49edff92376ea38867


-- 
DragonFly BSD source repository





More information about the Commits mailing list