diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-02-12 15:47:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-13 02:05:51 +0100 |
commit | e92967bfb1f4fa7da7c425df9239c4bb615dec30 (patch) | |
tree | 65eb1cc57512cd6cf3f0ca1403c78e974d9ebc74 /drivers/net/tg3.h | |
parent | tg3: Give MSI-X vec 1 rx backlog space (diff) | |
download | linux-e92967bfb1f4fa7da7c425df9239c4bb615dec30.tar.xz linux-e92967bfb1f4fa7da7c425df9239c4bb615dec30.zip |
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 <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
0 files changed, 0 insertions, 0 deletions