net: ethernet: mediatek: fix API usage with skb_free_frag
authorSean Wang <sean.wang@mediatek.com>
Thu, 1 Sep 2016 02:47:29 +0000 (10:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 03:53:47 +0000 (20:53 -0700)
commit1b43079906367d4d6e1ad00f04fff525a32e26c4
treecc2e86b2f69fccd35ad65adeccc5e1b262d4f723
parent549e5495467ac2a76489f1304e2b4a7ad85e1644
net: ethernet: mediatek: fix API usage with skb_free_frag

use skb_free_frag() instead of legacy put_page()

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c