summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-06-02 04:55:02 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-03 03:28:27 -0700
commitdb2c24175d149b55784f7cb2c303622ce962c1ae (patch)
tree37c34d4289975bcea43d50bf6eff405f74310db5 /net/sched/sch_api.c
parent3df95ce948dc8ceef07b49003ab944aa047f2a79 (diff)
downloadop-kernel-dev-db2c24175d149b55784f7cb2c303622ce962c1ae.zip
op-kernel-dev-db2c24175d149b55784f7cb2c303622ce962c1ae.tar.gz
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 <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>
Diffstat (limited to 'net/sched/sch_api.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud