[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190105.141757.152845829366359081.davem@davemloft.net>
Date: Sat, 05 Jan 2019 14:17:57 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dsahern@...nel.org
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net] ipv6: Take rcu_read_lock in __inet6_bind for
mapped addresses
From: David Ahern <dsahern@...nel.org>
Date: Sat, 5 Jan 2019 07:35:04 -0800
> From: David Ahern <dsahern@...il.com>
>
> I realized the last patch calls dev_get_by_index_rcu in a branch not
> holding the rcu lock. Add the calls to rcu_read_lock and rcu_read_unlock.
>
> Fixes: ec90ad334986 ("ipv6: Consider sk_bound_dev_if when binding a socket to a v4 mapped address")
> Signed-off-by: David Ahern <dsahern@...il.com>
Applied, thanks David.
Powered by blists - more mailing lists