Received: with ECARTIS (v1.0.0; list netdev); Tue, 07 Oct 2003 14:50:13 -0700 (PDT) Received: from c000.snv.cp.net (h008.c000.snv.cp.net [209.228.32.72]) by oss.sgi.com (8.12.10/8.12.10) with SMTP id h97Lnd25015449 for ; Tue, 7 Oct 2003 14:49:40 -0700 Received: (cpmta 22378 invoked from network); 7 Oct 2003 14:49:39 -0700 Received: from 12.221.64.39 (HELO Carter.net) by smtp.carter.net (209.228.32.72) with SMTP; 7 Oct 2003 14:49:38 -0700 X-Sent: 7 Oct 2003 21:49:38 GMT Message-ID: <3F8334F0.4060205@Carter.net> Date: Tue, 07 Oct 2003 16:49:36 -0500 From: Casey Carter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Dwyer CC: Casey Carter , netdev@oss.sgi.com, linux-ha@lists.linux-ha.org Subject: Re: Strange UDP binding behavior (SO_BINDTODEVICE) 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> In-Reply-To: <20031007170823.41ef2ff9.kevin@pheared.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-archive-position: 620 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: Casey@Carter.net Precedence: bulk X-list: netdev Kevin Dwyer wrote: >On Tue, 07 Oct 2003 15:51:57 -0500 >Casey Carter 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@Carter.net ccarter@cs.uiuc.edu AIM: cartec69