Re: [PATCH] cls_u32: use skb_copy_bits() to dereference data safely
From: jamal <hidden>
Date: 2010-06-02 13:36:44
From: jamal <hidden>
Date: 2010-06-02 13:36:44
On Wed, 2010-06-02 at 21:14 +0800, Changli Gao wrote:
Maybe skb_header_pointer() is lighter.
A little worse than skb_copy_bits(). In any case, this change is going to hurt. Dave, can we assume the upper layers(qdiscs in this case) are responsible for any linearizing? Changli, if you have time - can you also audit tcf_pedit() since it follows TheLinuxWay(tm). cheers, jamal