summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-02-12 15:47:06 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-13 02:05:51 +0100
commite92967bfb1f4fa7da7c425df9239c4bb615dec30 (patch)
tree65eb1cc57512cd6cf3f0ca1403c78e974d9ebc74 /drivers/net/tg3.h
parenttg3: Give MSI-X vec 1 rx backlog space (diff)
downloadlinux-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