Socket selection.
From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 05/20/04
- Previous message: Brooks Davis: "Re: [RFC] ifconfig: match by link-level address"
- Next in thread: Andre Oppermann: "Re: Socket selection."
- Reply: Andre Oppermann: "Re: Socket selection."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 20 May 2004 19:30:12 +0200 To: freebsd-net@freebsd.org
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!
- application/pgp-signature attachment: stored
- Previous message: Brooks Davis: "Re: [RFC] ifconfig: match by link-level address"
- Next in thread: Andre Oppermann: "Re: Socket selection."
- Reply: Andre Oppermann: "Re: Socket selection."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|