commit | 65b7b5b90fcd17b25ef43b0cd02bda47bf286675 | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Mon Feb 19 12:58:45 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 20 13:23:27 2018 -0500 |
tree | b850ae90d607134d8e5dced4c0d5533abfd24a71 | |
parent | 19efbd93e6fb05eab81856b4fc8d64211dd37088 [diff] |
net: Make cleanup_list and net::cleanup_list of llist type This simplifies cleanup queueing and makes cleanup lists to use llist primitives. Since llist has its own cmpxchg() ordering, cleanup_list_lock is not more need. Also, struct llist_node is smaller, than struct list_head, so we save some bytes in struct net with this patch. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>