Reshetova, Elena
1cc9a98b59
net: convert inet_peer.refcnt from atomic_t to refcount_t
...
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.
This conversion requires overall +1 on the whole
refcounting scheme.
Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-01 07:39:07 -07:00
..
2017-06-30 06:27:09 -07:00
2017-06-04 22:56:55 -04:00
2017-06-23 14:17:31 -04:00
2017-06-16 11:48:39 -04:00
2017-02-04 19:44:22 -05:00
2017-06-09 12:26:07 -04:00
2017-04-19 07:48:57 +02:00
2017-06-16 11:48:40 -04:00
2017-05-30 11:55:31 -04:00
2017-05-30 11:55:32 -04:00
2017-03-10 09:45:09 -08:00
2017-03-16 10:18:34 -07:00
2017-06-17 22:54:00 -04:00
2017-05-30 11:55:32 -04:00
2017-05-21 13:42:36 -04:00
2017-06-15 11:59:32 -04:00
2017-06-21 17:35:22 -04:00
2017-06-04 19:58:35 -04:00
2017-01-13 22:37:16 -05:00
2017-05-08 17:15:13 -07:00
2017-07-01 07:39:07 -07:00
2017-03-22 15:40:45 -07:00
2017-06-26 23:13:22 -04:00
2017-03-24 13:17:07 -07:00
2017-06-23 13:29:38 -04:00
2017-04-30 22:44:04 -04:00
2017-06-25 11:42:01 -04:00
2017-06-16 12:01:29 -04:00
2017-06-26 23:13:22 -04:00
2017-06-16 11:48:35 -04:00
2017-06-26 23:13:22 -04:00
2017-06-29 15:37:48 -04:00
2017-02-16 21:25:49 -05:00
2017-06-15 12:12:40 -04:00
2017-02-28 12:49:36 +01:00
2017-03-24 20:50:28 -07:00
2017-06-08 11:26:19 -04:00
2017-03-24 13:17:07 -07:00
2017-05-04 11:02:46 -04:00
2017-06-17 22:54:01 -04:00
2017-06-08 10:53:29 -04:00
2017-06-15 12:12:40 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-03-02 08:42:27 +01:00
2017-06-02 14:18:13 -04:00
2017-05-17 16:06:01 -04:00
2017-04-24 14:27:17 -04:00
2017-05-17 16:06:01 -04:00
2017-06-08 10:53:29 -04:00
2017-06-22 11:13:56 -04:00
2017-05-17 16:06:01 -04:00
2017-05-17 16:06:01 -04:00
2017-06-08 10:53:28 -04:00
2017-05-21 13:42:36 -04:00
2017-06-08 10:53:29 -04:00
2017-02-21 13:26:03 -05:00
2017-06-15 12:12:40 -04:00
2017-05-17 16:06:01 -04:00
2017-05-24 16:29:57 -04:00
2017-06-23 14:10:05 -04:00
2017-05-17 16:06:01 -04:00
2017-06-30 12:43:08 -04:00
2017-05-18 10:23:33 -04:00
2017-04-24 13:48:54 -04:00
2017-06-27 15:43:56 -04:00
2017-02-15 11:04:11 +01:00
2017-06-16 11:48:39 -04:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:07:39 +02:00
2017-04-14 10:06:10 +02:00
2017-02-09 10:22:19 +01:00
2017-02-09 10:22:17 +01:00
2017-01-10 10:57:12 +01:00