From: Balazs Scheidler Date: Thu, 20 Nov 2008 09:07:24 +0000 (-0800) Subject: TPROXY: fill struct flowi->flags in udp_sendmsg() X-Git-Tag: v2.6.28-rc6~8^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a134f85c131ffd56720e38af2967ec6265480757;p=pandora-kernel.git TPROXY: fill struct flowi->flags in udp_sendmsg() udp_sendmsg() didn't fill struct flowi->flags, which means that the route lookup would fail for non-local IPs even if the IP_TRANSPARENT sockopt was set. This prevents sendto() to work properly for UDP sockets, whereas bind(foreign-ip) + connect() + send() worked fine. Signed-off-by: Balazs Scheidler Signed-off-by: David S. Miller --- Reading git-diff-tree failed