diff options
author | Aaron Conole <aconole@bytheb.org> | 2016-04-02 22:26:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-06 02:58:39 +0300 |
commit | 4da46cebbd3b4dc445195a9672c99c1353af5695 (patch) | |
tree | 55faa41d69d4a5042c6fc957dbb58fd7aadea9e5 /drivers | |
parent | 9be02cdfa601776f9e65013d9f1b949d5024f457 (diff) | |
download | linux-4da46cebbd3b4dc445195a9672c99c1353af5695.tar.xz |
net/core/dev: Warn on a too-short GRO frame
When signaling that a GRO frame is ready to be processed, the network stack
correctly checks length and aborts processing when a frame is less than 14
bytes. However, such a condition is really indicative of a broken driver,
and should be loudly signaled, rather than silently dropped as the case is
today.
Convert the condition to use net_warn_ratelimited() to ensure the stack
loudly complains about such broken drivers.
Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions