tproxy: check for transparent flag in ip_route_newports

as done in ip_route_connect()

Signed-off-by: Ulrich Weber <uweber@astaro.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Ulrich Weber and committed by David S. Miller fb0c5f0b 7e1b33e5

+2
+2
include/net/route.h
··· 199 199 fl.fl_ip_sport = sport; 200 200 fl.fl_ip_dport = dport; 201 201 fl.proto = protocol; 202 + if (inet_sk(sk)->transparent) 203 + fl.flags |= FLOWI_FLAG_ANYSRC; 202 204 ip_rt_put(*rp); 203 205 *rp = NULL; 204 206 security_sk_classify_flow(sk, &fl);