diff options
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
| -rw-r--r-- | net/ipv6/xfrm6_output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_output.c b/net/ipv6/xfrm6_output.c index a0a924991c4f..318669a9cb48 100644 --- a/net/ipv6/xfrm6_output.c +++ b/net/ipv6/xfrm6_output.c | |||
| @@ -53,7 +53,8 @@ int xfrm6_extract_output(struct xfrm_state *x, struct sk_buff *skb) | |||
| 53 | if (err) | 53 | if (err) |
| 54 | return err; | 54 | return err; |
| 55 | 55 | ||
| 56 | IP6CB(skb)->nhoff = offsetof(struct ipv6hdr, nexthdr); | 56 | XFRM_MODE_SKB_CB(skb)->protocol = ipv6_hdr(skb)->nexthdr; |
| 57 | |||
| 57 | return xfrm6_extract_header(skb); | 58 | return xfrm6_extract_header(skb); |
| 58 | } | 59 | } |
| 59 | 60 | ||
