In this series, we revert the commit 333f796235a527 ("tipc: fix a race condition leading to subscriber refcnt bug") and provide an alternate solution to fix the race conditions in commits 2-4.
We have to do this as the above commit introduced a nametbl soft lockup at module exit as described by patch#4. --- v5: Address Ying's comment in Patch #2 to remove del_timer_sync(). v4: Address Ying's comment by introducing subscription refcount. v3: introduce cleanup workqueue to fix nametbl soft lockup. Parthasarathy Bhuvaragan (6): tipc: fix nametbl_lock soft lockup at node/link events tipc: add subscription refcount to avoid invalid delete tipc: fix connection refcount error tipc: fix nametbl_lock soft lockup at module exit tipc: ignore requests when the connection state is not CONNECTED tipc: fix cleanup at module unload net/tipc/node.c | 9 +++- net/tipc/server.c | 44 ++++++++------------ net/tipc/subscr.c | 120 +++++++++++++++++++++++++++++------------------------- net/tipc/subscr.h | 1 + 4 files changed, 91 insertions(+), 83 deletions(-) -- 2.1.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion