qca-nss-clients: fix out of memory issue
rtable is not release if it was not set skb_dst
Change-Id: I6be6332f7b71a7c7a55d6082f055bd6828076be1
Signed-off-by: Ken Zhu <guigenz@codeaurora.org>
diff --git a/tunipip6/nss_connmgr_tunipip6.c b/tunipip6/nss_connmgr_tunipip6.c
index d19e15f..0a03a7d 100644
--- a/tunipip6/nss_connmgr_tunipip6.c
+++ b/tunipip6/nss_connmgr_tunipip6.c
@@ -194,6 +194,7 @@
skb->pkt_type = PACKET_HOST;
skb->skb_iif = dev->ifindex;
skb->ip_summed = CHECKSUM_NONE;
+ ip_rt_put(rt);
netif_receive_skb(skb);
return;
}