commit | 56faacd04509f0a60ed646473a930fe584f1cb02 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue Apr 14 12:07:57 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 14 14:57:10 2015 -0400 |
tree | fe36fc1510338cc3ca23683f270821f4ebfcfb1a | |
parent | 4b62dce450e2447146ff6924a1ce8ad1a6592107 [diff] |
bgmac: simplify/optimize rx DMA error handling Allocate a new buffer before processing the completed one. If allocation fails, reuse the old buffer. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Acked-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>