]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Generalize tg3_skb_error_unmap()
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:49 +0000 (14:20 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 08:42:18 +0000 (16:42 +0800)
commitd14b35bc5b172c0a832b7f7289279c76646e1772
treea1d8c45a0b4984108e72dfc28fa18d482986dff2
parent7e573ca8781c44f4b44dfae39027a373026945a7
tg3: Generalize tg3_skb_error_unmap()

In the following patches, unmapping skb fragments will get just as
complicated as mapping them.  This patch generalizes
tg3_skb_error_unmap() and makes it the one-stop-shop for skb unmapping.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 0d681b27b0efc962a3038a316e78373de7bfe1ce)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c