commit | a134f85c131ffd56720e38af2967ec6265480757 | [log] [tgz] |
---|---|---|
author | Balazs Scheidler <bazsi@balabit.hu> | Thu Nov 20 01:07:24 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 20 01:07:24 2008 -0800 |
tree | 855f671667da2643274af8d580e16843f4baa393 | |
parent | b88ed5cc884e4c28d787cf0912b8635376f16a87 [diff] |
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 <bazsi@balabit.hu> Signed-off-by: David S. Miller <davem@davemloft.net>