cls_rsvp: add sanity check for the packet length
authorChangli Gao <xiaosuo@gmail.com>
Wed, 4 Aug 2010 04:55:40 +0000 (04:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2010 04:53:15 +0000 (21:53 -0700)
commit12dc96d1673feabef98eed1b5ff37abaa67fbe64
tree4f92d2b0eac8e5e2ceedfe42ae0182302d28de65
parent4b95c3d40d7d9927438ed7b7b49c84c60e27b65b
cls_rsvp: 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/cls_rsvp.h