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>

authored by Balazs Scheidler and committed by David S. Miller a134f85c b88ed5cc

+1
+1
net/ipv4/udp.c
··· 633 633 .saddr = saddr, 634 634 .tos = tos } }, 635 635 .proto = sk->sk_protocol, 636 + .flags = inet_sk_flowi_flags(sk), 636 637 .uli_u = { .ports = 637 638 { .sport = inet->sport, 638 639 .dport = dport } } };