net: reduce net_rx_action() latency to 2 HZ
authorEric Dumazet <edumazt@google.com>
Tue, 5 Mar 2013 07:15:13 +0000 (07:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 07:47:06 +0000 (02:47 -0500)
commitd1f41b67ff7735193bc8b418b98ac99a448833e2
tree9491bf2f4dbf0617d7b2f6cecc08c54f62bf1c31
parent691b3b7e1329141acf1e5ed44d8b468cea065fe3
net: reduce net_rx_action() latency to 2 HZ

We should use time_after_eq() to get maximum latency of two ticks,
instead of three.

Bug added in commit 24f8b2385 (net: increase receive packet quantum)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c