[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170703102359.246d68a2@griffin>
Date: Mon, 3 Jul 2017 10:23:59 +0200
From: Jiri Benc <jbenc@...hat.com>
To: Waiman Long <longman@...hat.com>
Cc: netdev@...r.kernel.org,
"John W. Linville" <linville@...driver.com>,
pravin shelar <pshelar@....org>
Subject: Re: [PATCH net 1/2] vxlan: fix hlist corruption
On Sun, 2 Jul 2017 16:06:10 -0400, Waiman Long wrote:
> I didn't see any init code for hlist4 and hlist6. Is vxlan_dev going to
> be *zalloc'ed so that they are guaranteed to be NULL? If not, you may
> need to add init code as not both hlists will be hashed and so one of
> them may contain invalid data.
Yes, it's zalloced via alloc_netdev. No need to init the fields
explicitly.
Jiri
Powered by blists - more mailing lists