diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-02-08 17:10:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-08 22:09:25 +0100 |
commit | 51a00daf7369b581e5241c5cae5924886deda261 (patch) | |
tree | a2dbbaa21bba03e86ac8bf58a7aedd4f5f2ddd2b /net/ipv4/ipip.c | |
parent | rt6_probe_deferred: Do not depend on struct ordering (diff) | |
download | linux-51a00daf7369b581e5241c5cae5924886deda261.tar.xz linux-51a00daf7369b581e5241c5cae5924886deda261.zip |
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 <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions