[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150208.130950.2302140482089254354.davem@davemloft.net>
Date: Sun, 08 Feb 2015 13:09:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jon.maloy@...csson.com
Cc: netdev@...r.kernel.org, paul.gortmaker@...driver.com,
erik.hugne@...csson.com, ying.xue@...driver.com, maloy@...jonn.com,
tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next 1/1] tipc: fix bug in socket reception function
From: Jon Maloy <jon.maloy@...csson.com>
Date: Sun, 8 Feb 2015 11:10:50 -0500
> 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@...csson.com>
Applied, thanks Jon.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists