diff options
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 7882377bc62e..09a09911c5ea 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -465,14 +465,15 @@ static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, | |||
465 | struct sk_buff *skb) | 465 | struct sk_buff *skb) |
466 | { | 466 | { |
467 | struct rtable *rt; | 467 | struct rtable *rt; |
468 | struct flowi fl = { .oif = skb_rtable(skb)->rt_iif, | 468 | struct flowi fl = { |
469 | .fl4_dst = ip_hdr(skb)->saddr, | 469 | .flowi_oif = skb_rtable(skb)->rt_iif, |
470 | .fl4_src = ip_hdr(skb)->daddr, | 470 | .fl4_dst = ip_hdr(skb)->saddr, |
471 | .fl4_tos = RT_CONN_FLAGS(sk), | 471 | .fl4_src = ip_hdr(skb)->daddr, |
472 | .proto = sk->sk_protocol, | 472 | .fl4_tos = RT_CONN_FLAGS(sk), |
473 | .fl_ip_sport = dccp_hdr(skb)->dccph_dport, | 473 | .flowi_proto = sk->sk_protocol, |
474 | .fl_ip_dport = dccp_hdr(skb)->dccph_sport | 474 | .fl_ip_sport = dccp_hdr(skb)->dccph_dport, |
475 | }; | 475 | .fl_ip_dport = dccp_hdr(skb)->dccph_sport, |
476 | }; | ||
476 | 477 | ||
477 | security_skb_classify_flow(skb, &fl); | 478 | security_skb_classify_flow(skb, &fl); |
478 | rt = ip_route_output_flow(net, &fl, sk); | 479 | rt = ip_route_output_flow(net, &fl, sk); |