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 15:08:54 -0800 |
commit | 9cce96df5b76691712dba22e83ff5efe900361e1 (patch) | |
tree | eecf99e64c6866af944e1e1644d87737392b2da2 /net/ipv4/ip_output.c | |
parent | f42454d632753d71ea1a2df09be7bbda32b6372d (diff) | |
download | linux-9cce96df5b76691712dba22e83ff5efe900361e1.tar.gz linux-9cce96df5b76691712dba22e83ff5efe900361e1.tar.bz2 linux-9cce96df5b76691712dba22e83ff5efe900361e1.zip |
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/ip_output.c')
-rw-r--r-- | net/ipv4/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 2b9cc40397ee..67f241b97649 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -1479,8 +1479,8 @@ void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *ar .daddr = daddr, .saddr = rt->rt_spec_dst, .flowi4_tos = RT_TOS(ip_hdr(skb)->tos), - .uli.ports.sport = tcp_hdr(skb)->dest, - .uli.ports.dport = tcp_hdr(skb)->source, + .fl4_sport = tcp_hdr(skb)->dest, + .fl4_dport = tcp_hdr(skb)->source, .flowi4_proto = sk->sk_protocol, .flowi4_flags = ip_reply_arg_flowi_flags(arg), }; |