]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tunnel4.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux...
[linux-2.6-omap-h63xx.git] / net / ipv4 / tunnel4.c
index cc4cd0e518cc97ba036710d2dce675e9ddc0ac2f..cb1f0e83830b408871139ca9a809b5320ea809b7 100644 (file)
@@ -97,7 +97,7 @@ static int tunnel64_rcv(struct sk_buff *skb)
 {
        struct xfrm_tunnel *handler;
 
-       if (!pskb_may_pull(skb, sizeof(struct iphdr)))
+       if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
                goto drop;
 
        for (handler = tunnel64_handlers; handler; handler = handler->next)
@@ -144,6 +144,7 @@ static struct net_protocol tunnel64_protocol = {
        .handler        =       tunnel64_rcv,
        .err_handler    =       tunnel64_err,
        .no_policy      =       1,
+       .netns_ok       =       1,
 };
 #endif