summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2019-03-27 22:35:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-21 10:47:55 +0100
commit27e96cbce648e04dd78ae0cd0f4f34b03314dea7 (patch)
treedd4bfed933cdcdbd372123e8a93028763b27d591 /Makefile
parent8ebb2441b69a7f35a5131ab9cc77459f61ec4acd (diff)
net: stmmac: don't stop NAPI processing when dropping a packet
commit 07b3975352374c3f5ebb4a42ef0b253fe370542d upstream. Currently, if we drop a packet, we exit from NAPI loop before the budget is consumed. In some situations this will make the RX processing stall e.g. when flood pinging the system with oversized packets, as the errorneous packets are not dropped efficiently. If we drop a packet, we should just continue to the next one as long as the budget allows. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net> [acj: backport v4.14 -stable - adjust context] Signed-off-by: Aviraj CJ <acj@cisco.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions