diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-05-29 01:24:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-31 09:51:25 +0300 |
commit | 25977ac77d62b3de19908979ac84c8fd5809de6f (patch) | |
tree | 329f41c29ccf0528095ee270034511b114b01f21 /usr | |
parent | c73b01837eeeba91b9c22c67c6372a6b73f08473 (diff) | |
download | linux-25977ac77d62b3de19908979ac84c8fd5809de6f.tar.xz |
net: systemport: 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 'usr')
0 files changed, 0 insertions, 0 deletions