[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110705.090844.483261881012193967.davem@davemloft.net>
Date: Tue, 05 Jul 2011 09:08:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: victor@...iniac.net, netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/4] packet: Add fanout support.
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 05 Jul 2011 18:04:00 +0200
> There is a small window where __fanout_link(sk, po) is not yet called,
> but packets can be received on other cpus since dev_add_pack() was
> called.
>
> There is no divide by 0, but fanout_demux_hash() can return a NULL sk,
> thus we can crash...
Indeed, you're right, I'll fix this.
--
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