[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190609.130808.145089119500423309.davem@davemloft.net>
Date: Sun, 09 Jun 2019 13:08:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, willemb@...gle.com
Subject: Re: [PATCH v2 net] ipv6: flowlabel: fl6_sock_lookup() must use
atomic_inc_not_zero
From: Eric Dumazet <edumazet@...gle.com>
Date: Thu, 6 Jun 2019 14:32:34 -0700
> Before taking a refcount, make sure the object is not already
> scheduled for deletion.
>
> Same fix is needed in ipv6_flowlabel_opt()
>
> Fixes: 18367681a10b ("ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists