David Ahern
8a14e46f14
net/ipv6: Fix missing rcu dereferences on from
...
kbuild test robot reported 2 uses of rt->from not properly accessed
using rcu_dereference:
1. add rcu_dereference_protected to rt6_remove_exception_rt and make
sure it is always called with rcu lock held.
2. change rt6_do_redirect to take a reference on 'from' when accessed
the first time so it can be used the sceond time outside of the lock
Fixes: a68886a691 ("net/ipv6: Make from in rt6_info rcu protected")
Reported-by: kbuild test robot <lkp@intel.com >
Signed-off-by: David Ahern <dsahern@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-04-23 16:12:55 -04:00
..
2018-03-27 13:18:09 -04:00
2018-04-04 12:04:59 -04:00
2017-10-20 13:15:07 +01:00
2018-04-19 15:40:13 -04:00
2018-03-27 13:18:09 -04:00
2018-04-17 13:19:22 -04:00
2017-11-15 11:56:19 -08:00
2018-04-19 15:40:13 -04:00
2017-07-04 22:35:16 +01:00
2018-04-04 11:31:57 -04:00
2018-02-27 10:46:01 +01:00
2018-01-17 00:10:42 -05:00
2018-02-28 11:43:28 -05:00
2018-04-17 13:39:51 -04:00
2017-09-01 20:33:42 -07:00
2018-04-23 10:21:24 -04:00
2017-05-21 13:42:36 -04:00
2018-03-27 13:18:09 -04:00
2017-01-28 10:33:06 -05:00
2017-12-03 10:18:28 -05:00
2018-02-16 15:57:42 -05:00
2018-04-21 16:06:14 -04:00
2018-03-27 13:18:09 -04:00
2018-04-05 15:16:15 -04:00
2017-11-02 11:10:55 +01:00
2018-04-17 13:39:51 -04:00
2017-10-08 10:12:15 -07:00
2016-04-07 16:53:29 -04:00
2018-04-21 16:06:14 -04:00
2018-04-05 15:16:15 -04:00
2016-11-02 15:18:36 -04:00
2018-04-05 15:16:15 -04:00
2018-04-23 10:21:24 -04:00
2016-11-04 14:45:23 -04:00
2018-02-28 11:43:28 -05:00
2018-03-01 13:13:23 -05:00
2017-11-02 11:10:55 +01:00
2018-03-27 13:18:09 -04:00
2016-12-25 17:21:23 +01:00
2018-04-19 15:40:12 -04:00
2018-02-25 20:51:13 +01:00
2017-11-24 01:37:35 +09:00
2018-04-04 11:31:57 -04:00
2018-03-31 23:25:39 -04:00
2017-03-24 13:17:07 -07:00
2018-03-27 13:18:09 -04:00
2018-04-18 23:19:39 -04:00
2018-04-23 16:12:55 -04:00
2017-09-01 18:35:23 -07:00
2018-03-30 14:14:33 -04:00
2018-03-04 13:04:22 -05:00
2018-03-27 13:18:09 -04:00
2018-04-05 15:16:15 -04:00
2018-03-25 20:53:54 -04:00
2018-03-27 13:18:09 -04:00
2018-03-31 23:33:04 -04:00
2018-01-22 16:01:30 -05:00
2017-11-02 11:10:55 +01:00
2018-01-22 16:01:30 -05:00
2018-04-04 11:31:57 -04:00
2018-03-27 13:18:09 -04:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2017-06-02 13:57:27 -04:00
2017-06-02 13:57:27 -04:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-04-17 23:41:18 -04:00
2017-02-09 10:22:17 +01:00
2018-02-28 11:43:28 -05:00
2018-03-27 13:18:09 -04:00