git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3df95ce
)
act_pedit: access skb->data safely
author
Changli Gao
<xiaosuo@gmail.com>
Wed, 2 Jun 2010 04:55:02 +0000
(
04:55
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 3 Jun 2010 10:28:27 +0000
(
03:28
-0700)
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 <xiaosuo@gmail.com>
----
net/sched/act_pedit.c | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found