diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-12 03:00:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-12 18:08:54 -0500 |
commit | 9cce96df5b76691712dba22e83ff5efe900361e1 (patch) | |
tree | eecf99e64c6866af944e1e1644d87737392b2da2 /net/ipv4/syncookies.c | |
parent | f42454d632753d71ea1a2df09be7bbda32b6372d (diff) |
net: Put fl4_* macros to struct flowi4 and use them again.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/syncookies.c')
-rw-r--r-- | net/ipv4/syncookies.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index e3b5b754311c..8b44c6d2a79b 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c | |||
@@ -353,8 +353,8 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, | |||
353 | .flowi4_tos = RT_CONN_FLAGS(sk), | 353 | .flowi4_tos = RT_CONN_FLAGS(sk), |
354 | .flowi4_proto = IPPROTO_TCP, | 354 | .flowi4_proto = IPPROTO_TCP, |
355 | .flowi4_flags = inet_sk_flowi_flags(sk), | 355 | .flowi4_flags = inet_sk_flowi_flags(sk), |
356 | .uli.ports.sport = th->dest, | 356 | .fl4_sport = th->dest, |
357 | .uli.ports.dport = th->source, | 357 | .fl4_dport = th->source, |
358 | }; | 358 | }; |
359 | security_req_classify_flow(req, flowi4_to_flowi(&fl4)); | 359 | security_req_classify_flow(req, flowi4_to_flowi(&fl4)); |
360 | rt = ip_route_output_key(sock_net(sk), &fl4); | 360 | rt = ip_route_output_key(sock_net(sk), &fl4); |