Commit 4da46ce
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>1 parent 9be02cd commit 4da46ce
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4663 | 4663 | | |
4664 | 4664 | | |
4665 | 4665 | | |
| 4666 | + | |
| 4667 | + | |
4666 | 4668 | | |
4667 | 4669 | | |
4668 | 4670 | | |
| |||
0 commit comments