From: Jon Paul Maloy Date: Sun, 8 Feb 2015 16:10:50 +0000 (-0500) Subject: tipc: fix bug in socket reception function X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51a00daf7369b581e5241c5cae5924886deda261;p=pandora-kernel.git tipc: fix bug in socket reception function In commit c637c1035534867b85b78b453c38c495b58e2c5a ("tipc: resolve race problem at unicast message reception") we introduced a time limit for how long the function tipc_sk_eneque() would be allowed to execute its loop. Unfortunately, the test for when this limit is passed was put in the wrong place, resulting in a lost message when the test is true. We fix this by moving the test to before we dequeue the next buffer from the input queue. Signed-off-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed