aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-02-12 09:47:06 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-12 20:05:51 -0500
commite92967bfb1f4fa7da7c425df9239c4bb615dec30 (patch)
tree65eb1cc57512cd6cf3f0ca1403c78e974d9ebc74 /drivers/video
parente4af1af900328e4aa71cd5df75bb22669ab11522 (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 <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/video')
0 files changed, 0 insertions, 0 deletions