From: Changli Gao Date: Wed, 2 Jun 2010 04:55:02 +0000 (+0000) Subject: act_pedit: access skb->data safely X-Git-Tag: v2.6.35-rc2~4^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db2c24175d149b55784f7cb2c303622ce962c1ae;p=pandora-kernel.git act_pedit: access skb->data safely access skb->data safely we should use skb_header_pointer() and skb_store_bits() to access skb->data to handle small or non-linear skbs. Signed-off-by: Changli Gao ---- net/sched/act_pedit.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) Signed-off-by: David S. Miller --- Reading git-diff-tree failed