]> Git Repo - linux.git/commit
[NET_SCHED]: cls_basic: fix NULL pointer dereference
authorPatrick McHardy <[email protected]>
Sun, 25 Mar 2007 05:13:06 +0000 (22:13 -0700)
committerDavid S. Miller <[email protected]>
Mon, 26 Mar 2007 01:48:11 +0000 (18:48 -0700)
commitd3fa76ee6b4a8dd0efda4e78e96f5b19533b3dea
treef960e24f323770fd3f26b0b14107cf3b0c0c0024
parentc93a882ebe673b5e6da0a70fd433f7517e032d23
[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 <[email protected]>

Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/cls_basic.c
This page took 0.051241 seconds and 4 git commands to generate.