[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190918000013.32083-1-navid.emamdoost@gmail.com>
Date: Tue, 17 Sep 2019 19:00:12 -0500
From: Navid Emamdoost <navid.emamdoost@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: emamd001@....edu, smccaman@....edu, kjlu@....edu,
Navid Emamdoost <navid.emamdoost@...il.com>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
"David S. Miller" <davem@...emloft.net>,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] ethernet/intel: release the local packet buffer
In e100_loopback_test the buffer allocated for the local packet needs to
be released.
Signed-off-by: Navid Emamdoost <navid.emamdoost@...il.com>
---
drivers/net/ethernet/intel/e100.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c
index a65d5a9ba7db..4de7dca341fc 100644
--- a/drivers/net/ethernet/intel/e100.c
+++ b/drivers/net/ethernet/intel/e100.c
@@ -2394,6 +2394,7 @@ static int e100_loopback_test(struct nic *nic, enum loopback loopback_mode)
e100_hw_reset(nic);
err_clean_rx:
e100_rx_clean_list(nic);
+ dev_kfree_skb(skb);
return err;
}
--
2.17.1
Powered by blists - more mailing lists