From: Zacco <[EMAIL PROTECTED]> Date: Wed, 21 Mar 2007 22:53:13 +0100
> Do you think there is interest in such a modification? If so, how could > we go on with it? The best thing you can do is hash on both saddr/sport. In order to handle the saddr==0 case the socket lookup has to try two lookups, one with the packets saddr, and one with saddr zero. If the first lookup hits, we use that, since a precise match should match over one to a wildcard saddr, otherwise we use the result of the second lookup. I'm not very inclined to hack on this, so anyone else is welcome to. FWIW, pretty much every other networking stack only hashes on sport for UDP, just like Linux. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html