diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-05-07 07:12:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-12 17:39:27 +0300 |
commit | e51423d9959df283c5af4ff13703f87e39d6e144 (patch) | |
tree | 1b67a0aa202e867b950b6ac2062df7faaa5c1d23 /drivers/net/ethernet/broadcom/tg3.c | |
parent | edea5845781c3a87a577755c22eb1f0851fbf944 (diff) | |
download | linux-e51423d9959df283c5af4ff13703f87e39d6e144.tar.xz |
bnx2x, tg3: Replace put_page(virt_to_head_page()) with skb_free_frag()
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 069952fa5d64..73c934cf6c61 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -6618,7 +6618,7 @@ static void tg3_tx(struct tg3_napi *tnapi) static void tg3_frag_free(bool is_frag, void *data) { if (is_frag) - put_page(virt_to_head_page(data)); + skb_free_frag(data); else kfree(data); } |