tg3: Fix tg3_skb_error_unmap()
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 2 Jun 2011 13:01:39 +0000 (13:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jun 2011 07:01:30 +0000 (00:01 -0700)
This function attempts to free one fragment beyond the number of
fragments that were actually mapped.  This patch brings back the limit
to the correct spot.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found