bna: SKB PCI UNMAP Fix
authorRasesh Mody <rmody@brocade.com>
Tue, 30 Aug 2011 15:27:47 +0000 (15:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:36:34 +0000 (15:36 -0400)
commit938fa48843b8d020a1dfc9cf340e09347132b7c4
treec6520aa04dc574397f34648bbef07b6fef9b4b64
parent41eb5ba42d6108029ccc0cdb0c95dfc6a9e348e7
bna: SKB PCI UNMAP Fix

Change details:
 - Found a leak in sk_buff unmapping of PCI dma addresses where boundary
   conditions are not properly handled in freeing all Tx buffers. Freeing
   of all Tx buffers is done considering sk_buffs data and fragments can
   be mapped at the boundary.

Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c