diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-21 07:16:24 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-23 23:20:21 -0500 |
commit | 6bd373ebbac4b13ecd39ddc37a0dc5ad4c5e4585 (patch) | |
tree | acd7a1d4a9f2ad46bd4cd652fe47af57af61c9cf /net/ipv4/protocol.c | |
parent | 001ce546bb537bb5b7821f05633556a0c9787e32 (diff) |
net: Always poll at least one device in net_rx_action
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 <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/protocol.c')
0 files changed, 0 insertions, 0 deletions