Socket selection.

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu May 20 17:30:14 GMT 2004


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 at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040520/c9c17c83/attachment.bin


More information about the freebsd-net mailing list