Re: [PATCH] tipc: avoid packets leaking on socket receive queue

2015-11-23 Thread David Miller
From: Ying Xue Date: Sun, 22 Nov 2015 15:46:05 +0800 > Even if we drain receive queue thoroughly in tipc_release() after tipc > socket is removed from rhashtable, it is possible that some packets > are in flight because some CPU runs receiver and did rhashtable lookup >

[PATCH] tipc: avoid packets leaking on socket receive queue

2015-11-21 Thread Ying Xue
Even if we drain receive queue thoroughly in tipc_release() after tipc socket is removed from rhashtable, it is possible that some packets are in flight because some CPU runs receiver and did rhashtable lookup before we removed socket. They will achieve receive queue, but nobody delete them at