On Thu, 2011-03-17 at 15:40 +1030, Rusty Russell wrote: > This is fascinating... and deeply weird. > > OK, what's the difference between calling xmit_skb and ignoring > failure, > and this patch which figures out it's going to fail before calling > xmit_skb? > > ie. what if you *just* delete this: Somehow what was in my mind, add_buf is more expensive than simply checked ring capacity. I retest it with your and Michael's suggestion here. Thanks Shirley -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html