Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83530846 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipc: Fix a false leak indication in IPC Router"

parents 2caf5a83 75823ded
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@
#include <linux/sched.h>
#include <linux/thread_info.h>
#include <linux/qmi_encdec.h>
#include <linux/slab.h>
#include <linux/kmemleak.h>

#include <asm/string.h>
#include <asm/atomic.h>
@@ -370,6 +372,7 @@ static int msm_ipc_router_sendmsg(struct kiocb *iocb, struct socket *sock,
		ret = -ENOMEM;
		goto out_sendmsg;
	}
	kmemleak_not_leak(msg);

	if (port_ptr->type == CLIENT_PORT)
		wait_for_irsc_completion();