Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2010 05:09:10 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet siftr.c
Message-ID:  <201007180509.o6I59Wmk089089@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
lstewart    2010-07-18 05:09:10 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          siftr.c 
  Log:
  SVN rev 210203 on 2010-07-18 05:09:10Z by lstewart
  
  - 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.4       +87 -115   src/sys/netinet/siftr.c



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