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/af_inet6.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/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 689eea6553fd..4b13d5d8890e 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -661,8 +661,8 @@ int inet6_sk_rebuild_header(struct sock *sk) | |||
661 | fl6.flowlabel = np->flow_label; | 661 | fl6.flowlabel = np->flow_label; |
662 | fl6.flowi6_oif = sk->sk_bound_dev_if; | 662 | fl6.flowi6_oif = sk->sk_bound_dev_if; |
663 | fl6.flowi6_mark = sk->sk_mark; | 663 | fl6.flowi6_mark = sk->sk_mark; |
664 | fl6.uli.ports.dport = inet->inet_dport; | 664 | fl6.fl6_dport = inet->inet_dport; |
665 | fl6.uli.ports.sport = inet->inet_sport; | 665 | fl6.fl6_sport = inet->inet_sport; |
666 | security_sk_classify_flow(sk, flowi6_to_flowi(&fl6)); | 666 | security_sk_classify_flow(sk, flowi6_to_flowi(&fl6)); |
667 | 667 | ||
668 | final_p = fl6_update_dst(&fl6, np->opt, &final); | 668 | final_p = fl6_update_dst(&fl6, np->opt, &final); |