diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2023-01-26 16:08:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-30 07:23:16 +0000 |
commit | 5c0862c2c962052ed5055220a00ac1cefb92fbcd (patch) | |
tree | f7424bfea5f59cc9b8263984a3fe1121dd172de0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 468ba54bd616db995514f9671ac116eb4b62e0ea (diff) |
net: bcmgenet: Add a check for oversized packets
Occasionnaly we may get oversized packets from the hardware which
exceed the nomimal 2KiB buffer size we allocate SKBs with. Add an early
check which drops the packet to avoid invoking skb_over_panic() and move
on to processing the next packet.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions