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/dccp | |
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/dccp')
-rw-r--r-- | net/dccp/ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index be984706126b..ae451c6d83ba 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -471,8 +471,8 @@ static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, | |||
471 | .saddr = ip_hdr(skb)->daddr, | 471 | .saddr = ip_hdr(skb)->daddr, |
472 | .flowi4_tos = RT_CONN_FLAGS(sk), | 472 | .flowi4_tos = RT_CONN_FLAGS(sk), |
473 | .flowi4_proto = sk->sk_protocol, | 473 | .flowi4_proto = sk->sk_protocol, |
474 | .uli.ports.sport = dccp_hdr(skb)->dccph_dport, | 474 | .fl4_sport = dccp_hdr(skb)->dccph_dport, |
475 | .uli.ports.dport = dccp_hdr(skb)->dccph_sport, | 475 | .fl4_dport = dccp_hdr(skb)->dccph_sport, |
476 | }; | 476 | }; |
477 | 477 | ||
478 | security_skb_classify_flow(skb, flowi4_to_flowi(&fl4)); | 478 | security_skb_classify_flow(skb, flowi4_to_flowi(&fl4)); |