[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <748426696.17969649.1496344028160.JavaMail.zimbra@redhat.com>
Date: Thu, 1 Jun 2017 15:07:08 -0400 (EDT)
From: Lance Richardson <lrichard@...hat.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net] vxlan: eliminate cached dst leak
> From: "David Miller" <davem@...emloft.net>
> To: lrichard@...hat.com
> Cc: netdev@...r.kernel.org, pabeni@...hat.com
> Sent: Thursday, 1 June, 2017 2:46:48 PM
> Subject: Re: [PATCH net] vxlan: eliminate cached dst leak
>
> From: Lance Richardson <lrichard@...hat.com>
> Date: Mon, 29 May 2017 13:25:57 -0400
>
> > After commit 0c1d70af924b ("net: use dst_cache for vxlan device"),
> > cached dst entries could be leaked when more than one remote was
> > present for a given vxlan_fdb entry, causing subsequent netns
> > operations to block indefinitely and "unregister_netdevice: waiting
> > for lo to become free." messages to appear in the kernel log.
> >
> > Fix by properly releasing cached dst and freeing resources in this
> > case.
> >
> > Fixes: commit 0c1d70af924b ("net: use dst_cache for vxlan device")
>
> In the future please do not put that "commit " string there, it's not
> needed.
Oops, sorry about that, I know I've made that mistake before (both times
because a checkpatch.pl warning in the body made me think I needed to
change the Fixes: tag as well). Now I'm tempted to roll a checkpatch.pl
improvement...
>
> > Signed-off-by: Lance Richardson <lrichard@...hat.com>
>
> Applied and queued up for -stable, thank you.
>
Powered by blists - more mailing lists