Subject: Re: [PATCH net 1/2] vxlan: fix hlist corruption

From: Jiri Benc <[email-masked]>
Date: Mon, 3 Jul 2017 10:23:59 +0200

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