On Thu, Jul 18, 2013 at 04:08:06PM +0800, ZhengLingyun wrote:
> I am using a userspace OVS, there is a constant ERR message in log:
> "dpif_netdev|ERR|error receiving data from ovs-netdev: Message too long"
> Check the code and find there is a comparison between ssize_t and size_t type 
> in
> netdev_rx_linux_recv(). It makes the negative "retval" greater than the 
> "size".
> 
> 
> 
> 
> Change the sequence of comparison to avoid negative return value cast to
> a positive and become greater then a non-negative value.
> 
> 
> Signed-off-by: ZhengLingyun <konghuaru...@163.com>

Thanks, I applied this to master.  The bug wasn't present in any
release branches.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to