From: Richard Alpe Date: Fri, 16 Jan 2015 11:30:40 +0000 (+0100) Subject: tipc: fix socket list regression in new nl api X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6e164e3215794f9920af69cd2c6794632773478;p=pandora-kernel.git tipc: fix socket list regression in new nl api Commit 07f6c4bc (tipc: convert tipc reference table to use generic rhashtable) introduced a problem with port listing in the new netlink API. It broke the resume functionality resulting in a never ending loop. This was caused by starting with the first hash table every time subsequently never returning an empty skb (terminating). This patch fixes the resume mechanism by keeping a logical reference to the last hash table along with a logical reference to the socket (port) that didn't fit in the previous message. Signed-off-by: Richard Alpe Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed