[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100523.231152.116127631.davem@davemloft.net>
Date: Sun, 23 May 2010 23:11:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: hadi@...erus.ca, kaber@...sh.net, blp@...ira.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net_sched: Fix qdisc_notify()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 23 May 2010 08:37:44 +0200
> [PATCH] net_sched: Fix qdisc_notify()
>
> Ben Pfaff reported a kernel oops and provided a test program to
> reproduce it.
>
> https://kerneltrap.org/mailarchive/linux-netdev/2010/5/21/6277805
>
> tc_fill_qdisc() should not be called for builtin qdisc, or it
> dereference a NULL pointer to get device ifindex.
>
> Fix is to always use tc_qdisc_dump_ignore() before calling
> tc_fill_qdisc().
>
> Reported-by: Ben Pfaff <blp@...ira.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and queued up for -stable.
--
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