commit | d3fa76ee6b4a8dd0efda4e78e96f5b19533b3dea | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sat Mar 24 22:13:06 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sun Mar 25 18:48:11 2007 -0700 |
tree | f960e24f323770fd3f26b0b14107cf3b0c0c0024 | |
parent | c93a882ebe673b5e6da0a70fd433f7517e032d23 [diff] |
[NET_SCHED]: cls_basic: fix NULL pointer dereference cls_basic doesn't allocate tp->root before it is linked into the active classifier list, resulting in a NULL pointer dereference when packets hit the classifier before its ->change function is called. Reported by Chris Madden <chris@reflexsecurity.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>