Re: [PATCH net-next v2 8/9] xen-netback: Timeout packets in RX path

2013-12-16 Thread Wei Liu
On Mon, Dec 16, 2013 at 05:16:17PM +, Zoltan Kiss wrote: > On 13/12/13 15:44, Wei Liu wrote: > >On Thu, Dec 12, 2013 at 11:48:16PM +, Zoltan Kiss wrote: > >>A malicious or buggy guest can leave its queue filled indefinitely, in which > >>case qdisc start to queue packets for that VIF. If th

Re: [PATCH net-next v2 8/9] xen-netback: Timeout packets in RX path

2013-12-16 Thread Zoltan Kiss
On 13/12/13 15:44, Wei Liu wrote: On Thu, Dec 12, 2013 at 11:48:16PM +, Zoltan Kiss wrote: A malicious or buggy guest can leave its queue filled indefinitely, in which case qdisc start to queue packets for that VIF. If those packets came from an another guest, it can block its slots and prev

Re: [PATCH net-next v2 8/9] xen-netback: Timeout packets in RX path

2013-12-13 Thread Wei Liu
On Thu, Dec 12, 2013 at 11:48:16PM +, Zoltan Kiss wrote: > A malicious or buggy guest can leave its queue filled indefinitely, in which > case qdisc start to queue packets for that VIF. If those packets came from an > another guest, it can block its slots and prevent shutdown. To avoid that, we

[PATCH net-next v2 8/9] xen-netback: Timeout packets in RX path

2013-12-12 Thread Zoltan Kiss
A malicious or buggy guest can leave its queue filled indefinitely, in which case qdisc start to queue packets for that VIF. If those packets came from an another guest, it can block its slots and prevent shutdown. To avoid that, we make sure the queue is drained in every 10 seconds Signed-off-by: