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 .saddr = saddr, 634 .tos = tos } }, 635 .proto = sk->sk_protocol, 636 .uli_u = { .ports = 637 { .sport = inet->sport, 638 .dport = dport } } };
··· 633 .saddr = saddr, 634 .tos = tos } }, 635 .proto = sk->sk_protocol, 636 + .flags = inet_sk_flowi_flags(sk), 637 .uli_u = { .ports = 638 { .sport = inet->sport, 639 .dport = dport } } };