Re: [PATCH net v2] genetlink: remove genl_bind

2020-07-01 Thread David Miller
From: Sean Tranchetti Date: Tue, 30 Jun 2020 11:50:17 -0600 > A potential deadlock can occur during registering or unregistering a > new generic netlink family between the main nl_table_lock and the > cb_lock where each thread wants the lock held by the other, as > demonstrated below. > > 1) Thr

Re: [PATCH net v2] genetlink: remove genl_bind

2020-06-30 Thread Cong Wang
On Tue, Jun 30, 2020 at 10:50 AM Sean Tranchetti wrote: > > A potential deadlock can occur during registering or unregistering a > new generic netlink family between the main nl_table_lock and the > cb_lock where each thread wants the lock held by the other, as > demonstrated below. > > 1) Thread

[PATCH net v2] genetlink: remove genl_bind

2020-06-30 Thread Sean Tranchetti
A potential deadlock can occur during registering or unregistering a new generic netlink family between the main nl_table_lock and the cb_lock where each thread wants the lock held by the other, as demonstrated below. 1) Thread 1 is performing a netlink_bind() operation on a socket. As part of