sch_sfq: add sanity check for the packet length
authorChangli Gao <xiaosuo@gmail.com>
Wed, 4 Aug 2010 04:58:59 +0000 (04:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2010 04:53:16 +0000 (21:53 -0700)
commitf2f009812f1fdcaf40fa547282c1b90d3b702a7d
treed6738a7481f2ee97cabfa44859a084d957d421c3
parent12dc96d1673feabef98eed1b5ff37abaa67fbe64
sch_sfq: add sanity check for the packet length

The packet length should be checked before the packet data is dereferenced.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c