git: mbuf: Hold mbuf update lock, only if the thresholds are to be changed.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Jul 24 08:43:50 PDT 2015


commit 8179ec906b5e7f97675b470ca819927fd07875a9
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Jul 24 20:59:25 2015 +0800

    mbuf: Hold mbuf update lock, only if the thresholds are to be changed.
    
    While I'm here, assert mbuf update lock in mbupdatelimits()

Summary of changes:
 sys/kern/uipc_mbuf.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8179ec906b5e7f97675b470ca819927fd07875a9


-- 
DragonFly BSD source repository


More information about the Commits mailing list