Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2009 18:24:25 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netipx spx.h spx_reass.c spx_usrreq.c spx_var.h
Message-ID:  <200906201824.n5KIOgPj049411@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-06-20 18:24:25 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx.h spx_reass.c spx_usrreq.c spx_var.h 
  Log:
  SVN rev 194547 on 2009-06-20 18:24:25Z by rwatson
  
  Rework SPX segment reassembly, which was originally based on our TCP
  reassembly but failed to be modernized over time:
  
  - Use queue(9).
  - Specifically allocate queue entries of type M_SPXREASSQ to point at
    member mbufs, rather than casting mbuf data to 'spx_q'.
  - Maintain the mbuf pointer as part of the queue entry so that we can
    later free the mbuf without using dtom().
  
  Revision  Changes    Path
  1.22      +4 -3      src/sys/netipx/spx.h
  1.5       +49 -52    src/sys/netipx/spx_reass.c
  1.100     +1 -1      src/sys/netipx/spx_usrreq.c
  1.15      +1 -1      src/sys/netipx/spx_var.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906201824.n5KIOgPj049411>