From: Vlad Yasevich Date: Fri, 26 Oct 2007 01:54:46 +0000 (-0700) Subject: [UDP]: Make use of inet_iif() when doing socket lookups. X-Git-Tag: v2.6.24-rc2~132^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee9dee730a40f671c1972a324ed54f0d68523e1;p=pandora-kernel.git [UDP]: Make use of inet_iif() when doing socket lookups. UDP currently uses skb->dev->ifindex which may provide the wrong information when the socket bound to a specific interface. This patch makes inet_iif() accessible to UDP and makes UDP use it. The scenario we are trying to fix is when a client is running on the same system and the server and both client and server bind to a non-loopback device. Signed-off-by: Vlad Yasevich Acked-by: David L Stevens Signed-off-by: David S. Miller --- Reading git-diff-tree failed