diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 81d3a9a084536541867afe9350602c0c73253006..05e949d482049b839c59714381cde1e8a186926a 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -273,7 +273,7 @@ static void cleanup_net(struct work_struct *work) { const struct pernet_operations *ops; struct net *net, *tmp; - LIST_HEAD(net_kill_list); + struct list_head net_kill_list; LIST_HEAD(net_exit_list); /* Atomically snapshot the list of namespaces to cleanup */