diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2012-02-09 14:16:41 +0100 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-02-28 18:09:54 +0100 |
commit | fa2d7795b2e859574c86cf186e488d12178d51b3 (patch) | |
tree | af37a844c4531936e0236ead5d6a2ce80686d208 /fs/inode.c | |
parent | remoteproc/omap: two Kconfig fixes (diff) | |
download | linux-fa2d7795b2e859574c86cf186e488d12178d51b3.tar.xz linux-fa2d7795b2e859574c86cf186e488d12178d51b3.zip |
rpmsg: fix name service endpoint leak
The name service endpoint wasn't destroyed, so fix it.
This is achieved by introducing an internal __rpmsg_destroy_ept
function which doesn't assume the given ept is bound to an rpmsg
channel (much like the existing __rpmsg_create_ept).
This is needed because the name service ept belongs to the rpmsg bus,
and is never bound with a specific rpdev.
Reported-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Mark Grosen <mgrosen@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Cc: Fernando Guzman Lugo <fernando.lugo@ti.com>
Cc: Rob Clark <rob@ti.com>
Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
Cc: Loic PALLARDY <loic.pallardy@stericsson.com>
Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions