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

git: ifq_dispatch: Avoid accessing the mbuf after it has been queued to if_snd


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Dec 2012 07:29:05 -0800 (PST)

commit fe53d127dabfbfba710a98e4f95834acf7de71b6
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Dec 22 23:32:20 2012 +0800

    ifq_dispatch: Avoid accessing the mbuf after it has been queued to if_snd
    
    The enqueued mbuf could have be freed when it is used to update the stats.

Summary of changes:
 sys/net/if.c |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



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