Date: Thu, 20 May 2004 19:30:12 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: freebsd-net@freebsd.org Subject: Socket selection. Message-ID: <20040520173012.GR845@darkness.comp.waw.pl>
index | next in thread | raw e-mail
[-- Attachment #1 --] Hello. In in_pcblookup_hash() function, in the last loop if we find exact match, we return immediately, if it is "wild", we store a pointer and we countinue looking for exact match. I wonder if this is ok, that we change pointer every time we find a "wild" match. Is it inteded? Shouldn't it be: http://people.freebsd.org/~pjd/patches/in_pcb.c.2.patch ? While I'm here, I want to improve code readability a bit: http://people.freebsd.org/~pjd/patches/in_pcb.c.3.patch Is it ok? -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFArOskForvXbEpPzQRAuqYAJsEGP+3IZc3Iisjnnd5/gsPirjNlQCg99KE P07Vse12bNaTjw38fQHeQJs= =nweI -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040520173012.GR845>
