From 31261b6a45d19e0acf51ff17bc5a55b0ea1949a8 Mon Sep 17 00:00:00 2001 From: Ulrich Weber Date: Mon, 27 Sep 2010 03:31:00 +0000 Subject: [PATCH] --- yaml --- r: 211125 b: refs/heads/master c: fb0c5f0bc8b69b40549449ee7fc65f3706f12062 h: refs/heads/master i: 211123: 6148aa89466fe482e2670b858e6a64a6027e3fd2 v: v3 --- [refs] | 2 +- trunk/include/net/route.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b918ed91f39b..d9dd57ac995f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7e1b33e5ea392dfc984fc63b76ca75acbf249dcd +refs/heads/master: fb0c5f0bc8b69b40549449ee7fc65f3706f12062 diff --git a/trunk/include/net/route.h b/trunk/include/net/route.h index bd732d62e1c3..7e5e73bfa4de 100644 --- a/trunk/include/net/route.h +++ b/trunk/include/net/route.h @@ -199,6 +199,8 @@ static inline int ip_route_newports(struct rtable **rp, u8 protocol, fl.fl_ip_sport = sport; fl.fl_ip_dport = dport; fl.proto = protocol; + if (inet_sk(sk)->transparent) + fl.flags |= FLOWI_FLAG_ANYSRC; ip_rt_put(*rp); *rp = NULL; security_sk_classify_flow(sk, &fl);