David Ahern
f1ce6ee14a
ipv6: Take rcu_read_lock in __inet6_bind for mapped addresses
...
[ Upstream commit d4a7e9bb74b5aaf07b89f6531c080b1130bdf019 ]
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-26 09:37:00 +01:00
..
2018-10-03 17:00:47 -07:00
2019-01-13 10:01:06 +01:00
2017-11-02 11:10:55 +01:00
2018-07-22 14:28:44 +02:00
2017-11-02 11:10:55 +01:00
2018-07-22 14:28:43 +02:00
2019-01-09 17:14:43 +01:00
2018-12-13 09:18:46 +01:00
2018-11-04 14:52:39 +01:00
2019-01-23 08:09:50 +01:00
2018-09-05 09:26:27 +02:00
2019-01-23 08:09:46 +01:00
2018-12-05 19:41:27 +01:00
2019-01-26 09:37:00 +01:00
2018-09-19 22:43:43 +02:00
2018-10-18 09:16:21 +02:00
2018-02-25 11:07:52 +01:00
2018-07-22 14:28:49 +02:00
2018-08-06 16:20:48 +02:00
2019-01-09 17:14:43 +01:00
2018-04-29 11:33:13 +02:00
2019-01-23 08:09:47 +01:00
2019-01-26 09:37:00 +01:00
2017-11-02 11:10:55 +01:00
2018-03-31 18:10:41 +02:00
2018-06-11 22:49:19 +02:00
2018-06-16 09:45:14 +02:00
2018-11-04 14:52:43 +01:00
2018-12-01 09:42:51 +01:00
2019-01-13 10:01:01 +01:00
2018-09-09 19:55:52 +02:00
2018-02-22 15:42:28 +01:00
2019-01-13 10:00:58 +01:00
2018-10-18 09:16:18 +02:00
2018-08-09 12:16:38 +02:00
2019-01-09 17:14:44 +01:00
2018-09-29 03:06:01 -07:00
2018-07-22 14:28:49 +02:00
2018-11-04 14:52:50 +01:00
2019-01-23 08:09:47 +01:00
2017-11-02 11:10:55 +01:00
2018-08-24 13:09:13 +02:00
2018-10-13 09:27:29 +02:00
2018-05-16 10:10:26 +02:00
2018-11-04 14:52:46 +01:00
2018-12-17 09:28:46 +01:00
2019-01-23 08:09:50 +01:00
2019-01-09 17:14:46 +01:00
2018-07-22 14:28:47 +02:00
2019-01-23 08:09:50 +01:00
2019-01-23 08:09:51 +01:00
2018-12-05 19:41:11 +01:00
2017-11-02 10:04:46 -07:00
2019-01-09 17:14:45 +01:00
2017-11-02 11:10:55 +01:00
2018-11-04 14:52:40 +01:00
2017-11-02 11:10:55 +01:00
2019-01-13 10:00:57 +01:00
2019-01-09 17:14:46 +01:00
2017-11-02 11:10:55 +01:00
2018-11-04 14:52:49 +01:00