Skip to content
Commit 738b54b9 authored by duanqiangwen's avatar duanqiangwen Committed by David S. Miller
Browse files

net: libwx: fix memory leak on free page



ifconfig ethx up, will set page->refcount larger than 1,
and then ifconfig ethx down, calling __page_frag_cache_drain()
to free pages, it is not compatible with page pool.
So deleting codes which changing page->refcount.

Fixes: 3c47e8ae ("net: libwx: Support to receive packets in NAPI")
Signed-off-by: default avatarduanqiangwen <duanqiangwen@net-swift.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0225191a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment