diff options
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 48ce496802fd..d62496c1a6f9 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c | |||
@@ -128,7 +128,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) | |||
128 | u8 nexthdr = nh[IP6CB(skb)->nhoff]; | 128 | u8 nexthdr = nh[IP6CB(skb)->nhoff]; |
129 | 129 | ||
130 | memset(fl, 0, sizeof(struct flowi)); | 130 | memset(fl, 0, sizeof(struct flowi)); |
131 | fl->mark = skb->mark; | 131 | fl->flowi_mark = skb->mark; |
132 | 132 | ||
133 | ipv6_addr_copy(&fl->fl6_dst, reverse ? &hdr->saddr : &hdr->daddr); | 133 | ipv6_addr_copy(&fl->fl6_dst, reverse ? &hdr->saddr : &hdr->daddr); |
134 | ipv6_addr_copy(&fl->fl6_src, reverse ? &hdr->daddr : &hdr->saddr); | 134 | ipv6_addr_copy(&fl->fl6_src, reverse ? &hdr->daddr : &hdr->saddr); |
@@ -161,7 +161,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) | |||
161 | fl->fl_ip_sport = ports[!!reverse]; | 161 | fl->fl_ip_sport = ports[!!reverse]; |
162 | fl->fl_ip_dport = ports[!reverse]; | 162 | fl->fl_ip_dport = ports[!reverse]; |
163 | } | 163 | } |
164 | fl->proto = nexthdr; | 164 | fl->flowi_proto = nexthdr; |
165 | return; | 165 | return; |
166 | 166 | ||
167 | case IPPROTO_ICMPV6: | 167 | case IPPROTO_ICMPV6: |
@@ -171,7 +171,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) | |||
171 | fl->fl_icmp_type = icmp[0]; | 171 | fl->fl_icmp_type = icmp[0]; |
172 | fl->fl_icmp_code = icmp[1]; | 172 | fl->fl_icmp_code = icmp[1]; |
173 | } | 173 | } |
174 | fl->proto = nexthdr; | 174 | fl->flowi_proto = nexthdr; |
175 | return; | 175 | return; |
176 | 176 | ||
177 | #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) | 177 | #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE) |
@@ -182,7 +182,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) | |||
182 | 182 | ||
183 | fl->fl_mh_type = mh->ip6mh_type; | 183 | fl->fl_mh_type = mh->ip6mh_type; |
184 | } | 184 | } |
185 | fl->proto = nexthdr; | 185 | fl->flowi_proto = nexthdr; |
186 | return; | 186 | return; |
187 | #endif | 187 | #endif |
188 | 188 | ||
@@ -192,7 +192,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl, int reverse) | |||
192 | case IPPROTO_COMP: | 192 | case IPPROTO_COMP: |
193 | default: | 193 | default: |
194 | fl->fl_ipsec_spi = 0; | 194 | fl->fl_ipsec_spi = 0; |
195 | fl->proto = nexthdr; | 195 | fl->flowi_proto = nexthdr; |
196 | return; | 196 | return; |
197 | } | 197 | } |
198 | } | 198 | } |