diff options
-rw-r--r-- | net/ipv4/xfrm4_mode_beet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_mode_beet.c b/net/ipv4/xfrm4_mode_beet.c index 591f0f1ef87f..74859dfb3a25 100644 --- a/net/ipv4/xfrm4_mode_beet.c +++ b/net/ipv4/xfrm4_mode_beet.c | |||
@@ -100,7 +100,7 @@ static int xfrm4_beet_input(struct xfrm_state *x, struct sk_buff *skb) | |||
100 | skb_set_network_header(skb, phlen - sizeof(*iph)); | 100 | skb_set_network_header(skb, phlen - sizeof(*iph)); |
101 | memmove(skb_network_header(skb), iph, sizeof(*iph)); | 101 | memmove(skb_network_header(skb), iph, sizeof(*iph)); |
102 | skb_set_transport_header(skb, phlen + optlen); | 102 | skb_set_transport_header(skb, phlen + optlen); |
103 | skb->data = skb->h.raw; | 103 | skb->data = skb_transport_header(skb); |
104 | 104 | ||
105 | iph = ip_hdr(skb); | 105 | iph = ip_hdr(skb); |
106 | iph->ihl = (sizeof(*iph) + optlen) / 4; | 106 | iph->ihl = (sizeof(*iph) + optlen) / 4; |