diff options
Diffstat (limited to 'net/ipv6/inet6_connection_sock.c')
-rw-r--r-- | net/ipv6/inet6_connection_sock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv6/inet6_connection_sock.c b/net/ipv6/inet6_connection_sock.c index d687e1397333..673f9bf28958 100644 --- a/net/ipv6/inet6_connection_sock.c +++ b/net/ipv6/inet6_connection_sock.c | |||
@@ -64,12 +64,12 @@ struct dst_entry *inet6_csk_route_req(struct sock *sk, | |||
64 | struct flowi fl; | 64 | struct flowi fl; |
65 | 65 | ||
66 | memset(&fl, 0, sizeof(fl)); | 66 | memset(&fl, 0, sizeof(fl)); |
67 | fl.proto = IPPROTO_TCP; | 67 | fl.flowi_proto = IPPROTO_TCP; |
68 | ipv6_addr_copy(&fl.fl6_dst, &treq->rmt_addr); | 68 | ipv6_addr_copy(&fl.fl6_dst, &treq->rmt_addr); |
69 | final_p = fl6_update_dst(&fl, np->opt, &final); | 69 | final_p = fl6_update_dst(&fl, np->opt, &final); |
70 | ipv6_addr_copy(&fl.fl6_src, &treq->loc_addr); | 70 | ipv6_addr_copy(&fl.fl6_src, &treq->loc_addr); |
71 | fl.oif = sk->sk_bound_dev_if; | 71 | fl.flowi_oif = sk->sk_bound_dev_if; |
72 | fl.mark = sk->sk_mark; | 72 | fl.flowi_mark = sk->sk_mark; |
73 | fl.fl_ip_dport = inet_rsk(req)->rmt_port; | 73 | fl.fl_ip_dport = inet_rsk(req)->rmt_port; |
74 | fl.fl_ip_sport = inet_rsk(req)->loc_port; | 74 | fl.fl_ip_sport = inet_rsk(req)->loc_port; |
75 | security_req_classify_flow(req, &fl); | 75 | security_req_classify_flow(req, &fl); |
@@ -213,13 +213,13 @@ int inet6_csk_xmit(struct sk_buff *skb) | |||
213 | struct in6_addr *final_p, final; | 213 | struct in6_addr *final_p, final; |
214 | 214 | ||
215 | memset(&fl, 0, sizeof(fl)); | 215 | memset(&fl, 0, sizeof(fl)); |
216 | fl.proto = sk->sk_protocol; | 216 | fl.flowi_proto = sk->sk_protocol; |
217 | ipv6_addr_copy(&fl.fl6_dst, &np->daddr); | 217 | ipv6_addr_copy(&fl.fl6_dst, &np->daddr); |
218 | ipv6_addr_copy(&fl.fl6_src, &np->saddr); | 218 | ipv6_addr_copy(&fl.fl6_src, &np->saddr); |
219 | fl.fl6_flowlabel = np->flow_label; | 219 | fl.fl6_flowlabel = np->flow_label; |
220 | IP6_ECN_flow_xmit(sk, fl.fl6_flowlabel); | 220 | IP6_ECN_flow_xmit(sk, fl.fl6_flowlabel); |
221 | fl.oif = sk->sk_bound_dev_if; | 221 | fl.flowi_oif = sk->sk_bound_dev_if; |
222 | fl.mark = sk->sk_mark; | 222 | fl.flowi_mark = sk->sk_mark; |
223 | fl.fl_ip_sport = inet->inet_sport; | 223 | fl.fl_ip_sport = inet->inet_sport; |
224 | fl.fl_ip_dport = inet->inet_dport; | 224 | fl.fl_ip_dport = inet->inet_dport; |
225 | security_sk_classify_flow(sk, &fl); | 225 | security_sk_classify_flow(sk, &fl); |