diff options
author | Patrick McHardy <kaber@trash.net> | 2006-12-05 13:46:13 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-06 18:39:07 -0800 |
commit | 5c804bfdcca2593422dd6edc2d7db4dba645543c (patch) | |
tree | b8b0993a2855372b037f6bbef2f4b67908b16ce8 /net/ipv6/ip6_output.c | |
parent | f216f082b2b37c4943f1e7c393e2786648d48f6f (diff) |
[NET_SCHED]: cls_fw: fix NULL pointer dereference
When the first fw classifier is initialized, there is a small window
between the ->init() and ->change() calls, during which the classifier
is active but not entirely set up and tp->root is still NULL (->init()
does nothing).
When a packet is queued during this window a NULL pointer dereference
occurs in fw_classify() when trying to dereference head->mask;
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions