On Thu, 2013-12-26 at 23:37 +0200, Michael S. Tsirkin wrote:

> Interesting. But if we can't allocate a buffer how can we
> do network processing?

How typical NIC drivers handle this case ?

Answer : nothing special should happen, we drop incoming traffic,
and make sure the driver recovers properly. (like not NULL deref or
crazy things like that)

Why virtio_net should be different ?

> 
> If we can reproduce the problem, we can maybe move
> allocation out of napi disabled section, but then
> we'll need to add more locking.

More exactly, use appropriate locking ;)


_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to