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)
commit9a2e0fb0893ddf595d0a372e681f5b98017c6d90
treefc32f2ae2fefe55bfe5b3381629b33550f7adea6
parentec764bf083a6ff396234351b51fd236f53c903bf
tg3: Fix tg3_skb_error_unmap()

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>
drivers/net/tg3.c