[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080703090522.GB27923@gondor.apana.org.au>
Date: Thu, 3 Jul 2008 17:05:22 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Steffen Klassert <steffen.klassert@...unet.com>
Cc: David Miller <davem@...emloft.net>, kaber@...sh.net,
netdev@...r.kernel.org, klassert@...hematik.tu-chemnitz.de
Subject: Re: [PATCH] xfrm: Fix inter family IPsec tunnel handling again
On Thu, Jul 03, 2008 at 10:55:42AM +0200, Steffen Klassert wrote:
>
> +#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
> + case IPPROTO_IPV6:
> + if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
> + goto out;
> + break;
> +#endif
This is supposed to use protocol-agnostic data so why do you need
the ifdef?
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists