]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: avoid rx queue more than 1000 packets
authorhayeswang <hayeswang@realtek.com>
Fri, 9 Jun 2017 09:11:47 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 19:37:02 +0000 (15:37 -0400)
commit0cd4624a96bacbc67647091fa323d46aa057c2d6
tree058e62d4b0de2224208926079bf8f665b0abc057
parent56db1ba1e4c2eefc8a63c23b68452f130b7c97e0
r8152: avoid rx queue more than 1000 packets

Stop queuing rx packets if it is more than 1000.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c