[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061205.134637.32347599.davem@davemloft.net>
Date: Tue, 05 Dec 2006 13:46:37 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org, tgraf@...g.ch, hadi@...erus.ca
Subject: Re: [NET_SCHED]: cls_fw: fix NULL pointer dereference
From: Patrick McHardy <kaber@...sh.net>
Date: Mon, 04 Dec 2006 16:34:46 +0100
> [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@...sh.net>
I've applied this, thanks Patrick.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists