Gleb Smirnoff
1e80e4f26c
Remove epoch assertion from if_setlladdr(). Originally this function was
...
protected by IF_ADDR_LOCK(), which was a mutex, so that two simultaneous
if_setlladdr() can't execute. Later it was switched to IF_ADDR_RLOCK(),
likely by a mistake. Later it was switched to NET_EPOCH_ENTER(). Then I
incorrectly added NET_EPOCH_ASSERT() here.
In reality ifp->if_addr never goes away and never changes its length. So,
doing bcopy() in it is always "safe", meaning it won't dereference a wrong
pointer or write into someone's else memory. Of course doing two bcopy() in
parallel would result in a mess of two addresses, but net epoch doesn't
protect against that, neither IF_ADDR_RLOCK() did.
So for now, just remove the assertion and leave for later a proper fix.
Reported by: markj
2019-10-08 17:55:45 +00:00
..
2019-02-11 05:17:31 +00:00
2019-06-29 00:48:33 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2018-06-13 17:04:41 +00:00
2018-06-13 17:04:41 +00:00
2019-09-09 21:32:42 +00:00
2017-11-27 15:23:17 +00:00
2019-06-29 00:48:33 +00:00
2019-05-20 00:38:23 +00:00
2019-05-13 13:45:28 +00:00
2019-03-15 11:21:20 +00:00
2017-11-27 15:23:17 +00:00
2018-05-31 09:11:21 +00:00
2019-05-20 00:38:23 +00:00
2017-11-27 15:23:17 +00:00
2019-08-27 00:01:56 +00:00
2019-08-27 00:01:56 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2019-05-29 01:08:30 +00:00
2018-05-11 05:00:40 +00:00
2018-07-24 16:35:52 +00:00
2019-05-20 00:38:23 +00:00
2019-08-01 14:17:31 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2019-01-31 23:01:03 +00:00
2017-11-27 15:23:17 +00:00
2018-07-24 16:35:52 +00:00
2019-10-07 22:40:05 +00:00
2018-03-27 20:51:49 +00:00
2019-10-07 22:40:05 +00:00
2018-10-21 18:06:15 +00:00
2019-04-24 09:05:45 +00:00
2019-04-24 09:05:45 +00:00
2018-11-16 14:21:57 +00:00
2019-08-27 00:01:56 +00:00
2019-05-03 14:43:21 +00:00
2019-05-20 00:38:23 +00:00
2019-05-20 00:38:23 +00:00
2017-11-20 19:43:44 +00:00
2018-07-24 16:35:52 +00:00
2019-10-07 22:40:05 +00:00
2018-04-23 21:10:33 +00:00
2018-08-22 18:19:56 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2019-09-10 14:33:07 +00:00
2019-10-07 22:40:05 +00:00
2019-07-25 22:23:34 +00:00
2019-07-25 22:23:34 +00:00
2019-10-07 22:40:05 +00:00
2017-11-20 19:43:44 +00:00
2019-08-27 00:01:56 +00:00
2019-05-20 00:38:23 +00:00
2019-10-07 22:40:05 +00:00
2019-07-24 16:10:20 +00:00
2017-12-30 04:03:53 +00:00
2019-10-08 17:55:45 +00:00
2019-09-17 18:49:13 +00:00
2018-05-11 20:08:28 +00:00
2019-05-06 20:56:41 +00:00
2019-06-15 11:07:41 +00:00
2019-09-30 15:59:07 +00:00
2019-09-30 15:59:07 +00:00
2017-11-20 19:43:44 +00:00
2019-05-09 11:34:46 +00:00
2019-01-03 23:06:05 +00:00
2017-11-27 15:23:17 +00:00
2019-10-07 22:40:05 +00:00
2017-11-27 15:23:17 +00:00
2019-03-18 12:22:23 +00:00
2019-09-01 14:47:41 +00:00
2018-12-05 11:57:16 +00:00
2019-09-01 14:47:41 +00:00
2019-03-10 17:20:09 +00:00
2019-03-10 17:20:09 +00:00
2017-11-20 19:43:44 +00:00
2019-03-15 11:08:44 +00:00
2018-06-16 08:26:23 +00:00
2017-11-20 19:43:44 +00:00
2018-06-16 08:26:23 +00:00
2018-06-16 19:21:09 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2019-05-08 23:39:24 +00:00
2019-10-07 22:40:05 +00:00
2019-05-08 23:39:24 +00:00
2017-10-11 06:08:01 +00:00
2017-10-11 06:08:01 +00:00
2019-10-07 22:40:05 +00:00
2019-08-17 00:10:56 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2019-10-08 11:06:24 +00:00
2019-10-07 14:24:59 +00:00