diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-24 22:13:06 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-03-25 18:48:11 -0700 |
commit | d3fa76ee6b4a8dd0efda4e78e96f5b19533b3dea (patch) | |
tree | f960e24f323770fd3f26b0b14107cf3b0c0c0024 /net/sched/cls_fw.c | |
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>
Diffstat (limited to 'net/sched/cls_fw.c')
0 files changed, 0 insertions, 0 deletions