commit | ba1142e4fb291c7bf124d93596351dca8d226a0f | [log] [tgz] |
---|---|---|
author | Matt Carlson <mcarlson@broadcom.com> | Fri Nov 04 09:15:00 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 04 17:31:47 2011 -0400 |
tree | dc20e27d52a515cfad594d2d137e61a3983d7de5 | |
parent | b9e454826f22e17d1945bd282834c87aef8d0f95 [diff] |
tg3: Fix 4k skb error recovery path On the error recovery resource unwind path, it is possible for the driver to attempt to unmap a fragment that hadn't been mapped. This patch fixes the problem by correcting the "last" parameter supplied. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>