git: tcp: Dispatch tcp_drain to netisrs to run

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Sep 8 05:40:31 PDT 2014


commit 7442cbe0e22d6d66beb54b1931a480be48cf1455
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Sep 8 19:46:28 2014 +0800

    tcp: Dispatch tcp_drain to netisrs to run
    
    - Avoid two extra M_WAITOK mallocs
    - Simplify drain logic, since inpcb marker is no longer needed

Summary of changes:
 sys/netinet/tcp_subr.c | 83 +++++++++++++++++++++++++++-----------------------
 1 file changed, 45 insertions(+), 38 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7442cbe0e22d6d66beb54b1931a480be48cf1455


-- 
DragonFly BSD source repository



More information about the Commits mailing list