X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv4%2Fipip.c;h=ea398ee43f28740d6b75eee0efe5ecdcd97c54ee;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=76ab50b0d6ef382654178d1f87777244ae06ac4c;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index 76ab50b0d..ea398ee43 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c @@ -94,6 +94,7 @@ #include +#include #include #include #include @@ -487,6 +488,7 @@ static int ipip_rcv(struct sk_buff *skb) skb->mac.raw = skb->nh.raw; skb->nh.raw = skb->data; + memset(&(IPCB(skb)->opt), 0, sizeof(struct ip_options)); skb->protocol = htons(ETH_P_IP); skb->pkt_type = PACKET_HOST;