]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Generalize tg3_skb_error_unmap()
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 27 Jul 2011 14:20:49 +0000 (14:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2011 05:39:31 +0000 (22:39 -0700)
commitadb15f0c501bddf7f8df756aa21190f10e91e432
tree0ff87deba13d372b5f8262e741dc121c0e07f32f
parent8ddf08d376b09f2df605bc2da5ec5ca744eebf62
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>
drivers/net/tg3.c