diff options
author | Baruch Siach <baruch@tkos.co.il> | 2009-01-04 16:23:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-04 16:23:01 -0800 |
commit | 22692018b93f0782cda5a843cecfffda1854eb8d (patch) | |
tree | b75537b4c063a28226d1810d0209b30375613eec /Documentation | |
parent | fecc7036e73a71231045e03ff524b5f8bd892a84 (diff) |
enc28j60: fix RX buffer overflow
The enc28j60 driver doesn't check whether the length of the packet as reported
by the hardware fits into the preallocated buffer. When stressed, the hardware
may report insanely large packets even tough the "Receive OK" bit is set. Fix
this.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions