git: tcp: Use TAILQ for segments reassemble queue

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue May 15 18:23:04 PDT 2012


commit 0f9e45de1f4568ab7abde0e8455b3f293d45a9da
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed May 16 09:15:28 2012 +0800

    tcp: Use TAILQ for segments reassemble queue
    
    So the last segment of the reassemble queue could be peeked w/ minimal cost

Summary of changes:
 sys/netinet/tcp_input.c  |   24 ++++++++++++------------
 sys/netinet/tcp_output.c |    2 +-
 sys/netinet/tcp_sack.c   |    4 ++--
 sys/netinet/tcp_subr.c   |   10 +++++-----
 sys/netinet/tcp_var.h    |    4 ++--
 5 files changed, 22 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f9e45de1f4568ab7abde0e8455b3f293d45a9da


-- 
DragonFly BSD source repository





More information about the Commits mailing list