Re: [Xen-devel] [PATCH 3/4] net: Always poll at least one device in net_rx_action

2014-12-23 Thread David Miller
From: Herbert Xu Date: Sun, 21 Dec 2014 07:16:24 +1100 > We should only perform the softnet_break check after we have polled > at least one device in net_rx_action. Otherwise a zero or negative > setting of netdev_budget can lock up the whole system. > > Signed-off-by: Herbert Xu Applied. __

[Xen-devel] [PATCH 3/4] net: Always poll at least one device in net_rx_action

2014-12-20 Thread Herbert Xu
We should only perform the softnet_break check after we have polled at least one device in net_rx_action. Otherwise a zero or negative setting of netdev_budget can lock up the whole system. Signed-off-by: Herbert Xu --- net/core/dev.c |7 +++ 1 file changed, 3 insertions(+), 4 deletion