commit | 6a6c708469c9e10fd87adcc3abff164270538d62 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Tue Apr 14 12:07:58 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 14 14:57:11 2015 -0400 |
tree | ed99e2eca3251c5b805287f091b44793f1a9b7b0 | |
parent | 56faacd04509f0a60ed646473a930fe584f1cb02 [diff] |
bgmac: add check for oversized packets In very rare cases, the MAC can catch an internal buffer that is bigger than it's supposed to be. Instead of crashing the kernel, simply pass the buffer back to the hardware Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>