Re: [PATCH] vmxnet3: repair memory leak

2018-01-23 Thread David Miller
From: Neil Horman Date: Mon, 22 Jan 2018 16:06:37 -0500 > with the introduction of commit > b0eb57cb97e7837ebb746404c2c58c6f536f23fa, it appears that rq->buf_info > is improperly handled. While it is heap allocated when an rx queue is > setup, and freed when torn down, an

Re: [PATCH] vmxnet3: repair memory leak

2018-01-23 Thread Shrikrishna Khare
On Mon, 22 Jan 2018, Neil Horman wrote: > with the introduction of commit > b0eb57cb97e7837ebb746404c2c58c6f536f23fa, it appears that rq->buf_info > is improperly handled. While it is heap allocated when an rx queue is > setup, and freed when torn down, an old line of code in >

[PATCH] vmxnet3: repair memory leak

2018-01-22 Thread Neil Horman
with the introduction of commit b0eb57cb97e7837ebb746404c2c58c6f536f23fa, it appears that rq->buf_info is improperly handled. While it is heap allocated when an rx queue is setup, and freed when torn down, an old line of code in vmxnet3_rq_destroy was not properly removed, leading to