[PATCH 4.15 109/146] netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation

2018-03-13 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit b3e456fce9f51d6276e576d00271e2813c1b8b67 upstream. There is a race condition between clusterip_config_entry_put() and clusterip_config_init(), after

[PATCH 4.15 109/146] netfilter: ipt_CLUSTERIP: fix a race condition of proc file creation

2018-03-13 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit b3e456fce9f51d6276e576d00271e2813c1b8b67 upstream. There is a race condition between clusterip_config_entry_put() and clusterip_config_init(), after we release the spinlock