diff --git a/net/core/xdp.c b/net/core/xdp.c index 8e405abaf05ac8dd7986762e85d6b1ae0d5c0cba..e334fad0a6b861deab0ffb8747905ca1f46e6a4d 100644 --- a/net/core/xdp.c +++ b/net/core/xdp.c @@ -73,11 +73,6 @@ static void __xdp_mem_allocator_rcu_free(struct rcu_head *rcu) /* Allow this ID to be reused */ ida_simple_remove(&mem_id_pool, xa->mem.id); - /* Poison memory */ - xa->mem.id = 0xFFFF; - xa->mem.type = 0xF0F0; - xa->allocator = (void *)0xDEAD9001; - kfree(xa); }