mbox series

[net,0/2] net: qualcomm: rmnet: Fix leaks in failure scenarios

Message ID 1512506478-9113-1-git-send-email-subashab@codeaurora.org
Headers show
Series net: qualcomm: rmnet: Fix leaks in failure scenarios | expand

Message

Subash Abhinov Kasiviswanathan Dec. 5, 2017, 8:41 p.m. UTC
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(-)

Comments

David Miller Dec. 5, 2017, 11:04 p.m. UTC | #1
From: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Date: Tue,  5 Dec 2017 13:41:16 -0700

> 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

Series applied, thank you.