Linus Torvalds
bd3769bfed
netfilter: Fix slab corruption.
...
Use the correct pattern for singly linked list insertion and
deletion. We can also calculate the list head outside of the
mutex.
Fixes: e3b37f11e6e4 ("netfilter: replace list_head with single linked list")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/core.c | 108 ++++++++++++++++-----------------------------------
1 file changed, 33 insertions(+), 75 deletions(-)
2016-10-11 04:44:37 -04:00
..
2016-08-12 00:43:52 +02:00
2016-10-11 04:44:37 -04:00
2016-08-22 11:42:22 +02:00
2016-09-25 23:16:42 +02:00
2016-09-25 23:34:19 +02:00
2016-08-30 11:43:08 +02:00
2016-08-09 10:38:46 +02:00
2016-07-11 11:47:50 +02:00
2016-09-07 10:38:00 +02:00
2016-07-11 12:32:45 +02:00
2016-09-24 21:29:53 +02:00
2016-09-24 21:29:53 +02:00
2016-07-21 02:31:53 +02:00
2016-07-22 17:05:10 +02:00
2016-09-12 19:59:39 +02:00
2016-08-30 11:43:09 +02:00
2016-08-12 00:41:08 +02:00
2016-08-13 13:27:13 +02:00
2016-09-07 10:36:52 +02:00
2016-08-13 13:27:13 +02:00
2016-08-13 13:27:13 +02:00
2016-08-13 13:27:13 +02:00
2016-08-12 00:41:08 +02:00
2016-08-13 13:27:13 +02:00
2016-07-21 02:31:53 +02:00
2016-09-25 14:54:01 +02:00
2016-09-07 13:53:43 +02:00
2016-09-25 14:54:08 +02:00
2016-07-21 02:31:53 +02:00
2016-09-25 14:38:48 +02:00
2016-09-25 23:16:45 +02:00
2016-10-04 08:41:06 +02:00
2016-09-23 06:46:57 -04:00
2016-09-25 14:38:48 +02:00
2016-09-23 09:29:02 +02:00
2016-09-25 23:16:43 +02:00
2016-09-12 19:54:45 +02:00
2016-09-12 19:54:45 +02:00
2016-09-25 23:34:19 +02:00
2016-08-25 13:11:00 +02:00
2016-09-24 21:29:53 +02:00
2016-08-25 13:11:30 +02:00
2016-09-24 21:29:53 +02:00
2016-09-25 14:38:48 +02:00
2016-09-23 09:29:02 +02:00
2016-09-23 09:29:02 +02:00
2016-09-23 09:29:02 +02:00
2016-07-23 12:25:00 +02:00
2016-09-25 14:54:04 +02:00
2016-09-12 18:49:50 +02:00
2016-09-23 09:29:02 +02:00
2016-09-13 10:49:23 +02:00
2016-09-23 09:29:02 +02:00
2016-10-04 08:59:03 +02:00
2016-09-25 23:16:43 +02:00
2016-09-23 09:30:48 +02:00
2016-09-25 23:34:19 +02:00
2016-09-22 16:33:05 +02:00
2016-09-23 09:30:26 +02:00
2016-09-23 09:29:50 +02:00
2016-09-07 11:02:06 +02:00
2016-09-25 23:16:42 +02:00
2016-08-25 12:55:34 +02:00
2016-08-25 12:55:34 +02:00
2016-08-26 17:30:20 +02:00
2016-09-06 12:45:26 -07:00
2016-07-18 21:35:23 +02:00
2016-07-22 17:05:10 +02:00
2016-09-23 09:30:36 +02:00
2016-08-12 00:43:13 +02:00
2016-09-30 20:15:27 +02:00
2016-09-24 21:29:53 +02:00
2016-08-18 00:38:23 +02:00
2016-06-24 11:03:23 +02:00
2016-06-23 13:58:55 +02:00
2016-08-12 00:42:14 +02:00
2016-09-23 09:30:36 +02:00
2016-09-23 09:30:36 +02:00
2016-09-22 03:13:26 -04:00
2016-09-24 21:13:21 +02:00
2016-07-03 10:55:07 +02:00
2016-09-12 19:54:43 +02:00
2016-08-18 00:51:13 +02:00
2016-06-23 13:26:49 +02:00