DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: vkernel - Fix if_vke


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2013 15:32:40 -0800 (PST)

commit a9844950530ae16eb3e75a9be633f52643914f58
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Feb 19 15:29:55 2013 -0800

    vkernel - Fix if_vke
    
    * The vkernel device driver threads are cothreads and do not have
      any per-cpu data.
    
    * Fix recent stat counter changes which attempted to access per-cpu data
      from a cothread.  This fixes a vkernel SIGILL by virtue of the trap()
      code being called recursively on trap's own attempt to access mycpu,
      until its stack runs out.

Summary of changes:
 sys/dev/virtual/vkernel/net/if_vke.c | 35 +++++++++++++++++++++++++++++++----
 1 file changed, 31 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9844950530ae16eb3e75a9be633f52643914f58


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]