On Tue, Feb 13, 2007 at 01:15:18PM +1100, Rusty Russell wrote: > > Good spotting! This function needs to be passed skb_headlen(skb), > rather than skb->len. Patch is below (I renamed the parameter as well, > for clarity).
How about just dropping that parameter and using skb_headlen(skb) directly? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> 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 linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/