|
@@ -24,6 +24,8 @@ static int xfrm4_transport_output(struct xfrm_state *x, struct sk_buff *skb)
|
|
struct iphdr *iph = ip_hdr(skb);
|
|
struct iphdr *iph = ip_hdr(skb);
|
|
int ihl = iph->ihl * 4;
|
|
int ihl = iph->ihl * 4;
|
|
|
|
|
|
|
|
+ skb_set_inner_transport_header(skb, skb_transport_offset(skb));
|
|
|
|
+
|
|
skb_set_network_header(skb, -x->props.header_len);
|
|
skb_set_network_header(skb, -x->props.header_len);
|
|
skb->mac_header = skb->network_header +
|
|
skb->mac_header = skb->network_header +
|
|
offsetof(struct iphdr, protocol);
|
|
offsetof(struct iphdr, protocol);
|