From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subash Abhinov Kasiviswanathan Subject: [PATCH net 0/2] net: qualcomm: rmnet: Fix leaks in failure scenarios Date: Tue, 5 Dec 2017 13:41:16 -0700 Message-ID: <1512506478-9113-1-git-send-email-subashab@codeaurora.org> Cc: Subash Abhinov Kasiviswanathan To: davem@davemloft.net, netdev@vger.kernel.org Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:34596 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112AbdLEUno (ORCPT ); Tue, 5 Dec 2017 15:43:44 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Patch 1 fixes a leak in transmit path where a skb cannot be transmitted due to insufficient headroom to stamp the map header. Patch 2 fixes a leak in rmnet_newlink() failure because the rmnet endpoint was never freed Subash Abhinov Kasiviswanathan (2): net: qualcomm: rmnet: Fix leak on transmit failure net: qualcomm: rmnet: Fix leak in device creation failure drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c | 1 + drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) -- 1.9.1