netdev
[Top] [All Lists]

Re: Strange UDP binding behavior (SO_BINDTODEVICE)

To: Kevin Dwyer <kevin@xxxxxxxxxxx>
Subject: Re: Strange UDP binding behavior (SO_BINDTODEVICE)
From: Casey Carter <Casey@xxxxxxxxxx>
Date: Tue, 07 Oct 2003 16:49:36 -0500
Cc: Casey Carter <ccarter@xxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-ha@xxxxxxxxxxxxxxxxxx
In-reply-to: <20031007170823.41ef2ff9.kevin@pheared.net>
References: <20031005130154.5bd9d182.kevin@pheared.net> <3F81F1CD.8050803@Carter.net> <20031006210600.37da62c9.kevin@pheared.net> <3F83276D.3070700@cs.uiuc.edu> <20031007170823.41ef2ff9.kevin@pheared.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2
Kevin Dwyer wrote:

On Tue, 07 Oct 2003 15:51:57 -0500
Casey Carter <ccarter@xxxxxxxxxxx> wrote:



IMHO, the delivery should weigh sk_bound_dev_if much more strongly (7
instead of 2), so that if-bound sockets are always favored over
non-if-bound. I would be happy to submit the (trivial) patch to do so
if the networking gurus agree?



Any possibility of getting this behavior into 2.4 as well? Albeit, without the scoring since that's obviously a new concept introduced by 2.6. (Which I prefer; well done.)

I confess that I don't know who to talk to about such a change.


There is actually a similar ranking algorithm in 2.4, with a similar fix. I'll work up a patch and resubmit to netdev in hopes that one of the gurus will pick it up.

--
Casey Carter
Casey@xxxxxxxxxx
ccarter@xxxxxxxxxxx
AIM: cartec69



<Prev in Thread] Current Thread [Next in Thread>