Re: [PATCH] netlink: fix locking around NETLINK_LIST_MEMBERSHIPS

2015-10-22 Thread David Miller
From: David Herrmann Date: Wed, 21 Oct 2015 11:47:43 +0200 > Currently, NETLINK_LIST_MEMBERSHIPS grabs the netlink table while copying > the membership state to user-space. However, grabing the netlink table is > effectively a write_lock_irq(), and as such we should not be triggering > page-fault

[PATCH] netlink: fix locking around NETLINK_LIST_MEMBERSHIPS

2015-10-21 Thread David Herrmann
Currently, NETLINK_LIST_MEMBERSHIPS grabs the netlink table while copying the membership state to user-space. However, grabing the netlink table is effectively a write_lock_irq(), and as such we should not be triggering page-faults in the critical section. This can be easily reproduced by the foll