diff options
Diffstat (limited to 'net/ipv6/xfrm6_state.c')
-rw-r--r-- | net/ipv6/xfrm6_state.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/xfrm6_state.c b/net/ipv6/xfrm6_state.c index 00360b514e99..df7e98d914fa 100644 --- a/net/ipv6/xfrm6_state.c +++ b/net/ipv6/xfrm6_state.c | |||
@@ -178,8 +178,6 @@ int xfrm6_extract_header(struct sk_buff *skb) | |||
178 | XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); | 178 | XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); |
179 | XFRM_MODE_SKB_CB(skb)->tos = ipv6_get_dsfield(iph); | 179 | XFRM_MODE_SKB_CB(skb)->tos = ipv6_get_dsfield(iph); |
180 | XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; | 180 | XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; |
181 | XFRM_MODE_SKB_CB(skb)->protocol = | ||
182 | skb_network_header(skb)[IP6CB(skb)->nhoff]; | ||
183 | memcpy(XFRM_MODE_SKB_CB(skb)->flow_lbl, iph->flow_lbl, | 181 | memcpy(XFRM_MODE_SKB_CB(skb)->flow_lbl, iph->flow_lbl, |
184 | sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); | 182 | sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); |
185 | 183 | ||