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~} <herbert at gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt