Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Nov 2010 10:17:43 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet siftr.c
Message-ID:  <201011061017.oA6AHueG023129@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lstewart    2010-11-06 10:17:43 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/netinet          siftr.c 
  Log:
  SVN rev 214863 on 2010-11-06 10:17:43Z by lstewart
  
  MFC r210203:
  
  - Move common code from the hook functions that fills in a packet node struct to
    a separate inline function. This further reduces duplicate code that didn't
    have a good reason to stay as it was.
  
  - Reorder the malloc of a pkt_node struct in the hook functions such that it
    only occurs if we managed to find a usable tcpcb associated with the packet.
  
  - Make the inp_locally_locked variable's type consistent with the prototype of
    siftr_siftdata().
  
  Sponsored by:   FreeBSD Foundation
  
  Revision  Changes    Path
  1.6.2.3   +87 -115   src/sys/netinet/siftr.c



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