On Fri, Jul 18, 2014 at 02:45:47PM -0700, Alex Wang wrote:
> Commit 93295354 (netlink-socket: Simplify multithreaded dumping
> to match Linux reality.) makes the call to recvmsg() block if no
> messages are available.  This can cause revalidator threads hanging
> for long time or even deadlock when main thread tries to stop the
> revalidator threads.
> 
> This commit fixes the issue by enabling the MSG_DONTWAIT flag in
> the call to recvmsg().
> 
> Signed-off-by: Alex Wang <al...@nicira.com>

It's a reasonable fix but I'd like to learn more about the situation
where the problem arises.  It seems like there might be more to it.
Can you explain more, or maybe give a backtrace?

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to