diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 16:36:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 18:08:55 -0500 |
commit | 1958b856c1a59c0f1e892b92debb8c9fe4f364dc (patch) | |
tree | 679e060ad7c1e36ee2e5aec0c686921c66c9bc2c /net/ipv6/syncookies.c | |
parent | 4c9483b2fb5d2548c3cc1fe03cdd4484ceeb5d1c (diff) |
net: Put fl6_* macros to struct flowi6 and use them again.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/syncookies.c')
-rw-r--r-- | net/ipv6/syncookies.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/syncookies.c b/net/ipv6/syncookies.c index 97858d5d67e8..352c26081f5d 100644 --- a/net/ipv6/syncookies.c +++ b/net/ipv6/syncookies.c | |||
@@ -240,8 +240,8 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb) | |||
240 | ipv6_addr_copy(&fl6.saddr, &ireq6->loc_addr); | 240 | ipv6_addr_copy(&fl6.saddr, &ireq6->loc_addr); |
241 | fl6.flowi6_oif = sk->sk_bound_dev_if; | 241 | fl6.flowi6_oif = sk->sk_bound_dev_if; |
242 | fl6.flowi6_mark = sk->sk_mark; | 242 | fl6.flowi6_mark = sk->sk_mark; |
243 | fl6.uli.ports.dport = inet_rsk(req)->rmt_port; | 243 | fl6.fl6_dport = inet_rsk(req)->rmt_port; |
244 | fl6.uli.ports.sport = inet_sk(sk)->inet_sport; | 244 | fl6.fl6_sport = inet_sk(sk)->inet_sport; |
245 | security_req_classify_flow(req, flowi6_to_flowi(&fl6)); | 245 | security_req_classify_flow(req, flowi6_to_flowi(&fl6)); |
246 | 246 | ||
247 | dst = ip6_dst_lookup_flow(sk, &fl6, final_p, false); | 247 | dst = ip6_dst_lookup_flow(sk, &fl6, final_p, false); |