X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fnet%2Fipip.h;h=fdf9bd7437057e26b0f9cd3bdadb8c70ed8a09f6;hb=80445de57764b45fc26315c19fe7dc9fc57c2c65;hp=a85bda64b8528ce2f7b8c4416ba10e83f654b9af;hpb=f56dd017c32e759bbdc88ee59d3f76235d720788;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/net/ipip.h b/include/net/ipip.h index a85bda6..fdf9bd7 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h @@ -37,7 +37,7 @@ struct ip_tunnel_prl_entry #define IPTUNNEL_XMIT() do { \ int err; \ - int pkt_len = skb->len; \ + int pkt_len = skb->len - skb_transport_offset(skb); \ \ skb->ip_summed = CHECKSUM_NONE; \ ip_select_ident(iph, &rt->u.dst, NULL); \