Date: Sat, 6 Nov 2010 14:49: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: <201011061449.oA6EnRhv058130@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lstewart 2010-11-06 14:49:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet siftr.c Log: SVN rev 214883 on 2010-11-06 14:49:10Z 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.4.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?201011061449.oA6EnRhv058130>