From: Patrick McHardy Date: Tue, 5 Dec 2006 21:46:13 +0000 (-0800) Subject: [NET_SCHED]: cls_fw: fix NULL pointer dereference X-Git-Tag: v2.6.20-rc1~145^2^2~7^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c804bfdcca2593422dd6edc2d7db4dba645543c;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed