[dpdk-dev] [PATCH] vhost: don't stall if guest is slow

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Dec 8 03:30:43 CET 2015


2015-12-08 10:23, Yuanhan Liu:
> On Mon, Dec 07, 2015 at 04:50:21PM -0800, Stephen Hemminger wrote:
> > When guest is booting (or any othertime guest is busy) it is possible
> > for the small receive ring (256) to get full. If this happens the
> > vhost library should just return normally. It's current behavior
> > of logging just creates massive log spew/overflow which could even
> > act as a DoS attack against host.
> > 
> > Reported-by: Nathan Law <nlaw at brocade.com>
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> 
> Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Yuanhan, please what is your opinion about the balance benefit/risk
of this patch for 2.2?


More information about the dev mailing list