diff options
| author | Matt Carlson <[email protected]> | 2010-02-12 14:47:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-02-12 17:05:51 -0800 |
| commit | e92967bfb1f4fa7da7c425df9239c4bb615dec30 (patch) | |
| tree | 65eb1cc57512cd6cf3f0ca1403c78e974d9ebc74 /include/linux | |
| parent | e4af1af900328e4aa71cd5df75bb22669ab11522 (diff) | |
tg3: Prevent rx producer ring overruns
When operating in RSS mode, it is possible for one rx return ring to
submit enough rx buffers back to the hardware such that it inadvertently
overwrites data needed by another rx return ring. This patch addresses
the problem by looking for non-NULL skb pointers in the
rx_[std|jmb]_buffers rings that parallel the rx producer rings.
Signed-off-by: Matt Carlson <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Reviewed-by: Benjamin Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions