Re: net/sched/act_nat.c BUG

From: Eric Dumazet
Date: Sat Jul 10 2010 - 02:27:34 EST


Le samedi 10 juillet 2010 Ã 07:23 +0800, Herbert Xu a Ãcrit :

> No we do need the second IP header, think about it...
>
> However, we should only drop it only if it's long enough and
> pskb_may_pull fails.

Indeed right you are !

As Changli suggested, we need another pskb_may_pull() call.

Thanks


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/