aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2012-07-10 10:04:40 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-09 08:27:51 -0700
commit6577472957c45c35cedaa0e53748cb1c6c954e44 (patch)
tree38a0b4210e7b5c44b359cbc04b67c9fcdde7c58d /net/sched
parentb4cbf953e071121a4082e35c9820c3c3c10aeb55 (diff)
downloadkernel_samsung_smdk4412-6577472957c45c35cedaa0e53748cb1c6c954e44.zip
kernel_samsung_smdk4412-6577472957c45c35cedaa0e53748cb1c6c954e44.tar.gz
kernel_samsung_smdk4412-6577472957c45c35cedaa0e53748cb1c6c954e44.tar.bz2
bnx2: Fix bug in bnx2_free_tx_skbs().
[ Upstream commit c1f5163de417dab01fa9daaf09a74bbb19303f3c ] In rare cases, bnx2x_free_tx_skbs() can unmap the wrong DMA address when it gets to the last entry of the tx ring. We were not using the proper macro to skip the last entry when advancing the tx index. Reported-by: Zongyun Lai <zlai@vmware.com> Reviewed-by: Jeffrey Huang <huangjw@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions