diff options
author | Ohad Ben-Cohen <[email protected]> | 2012-02-09 15:16:41 +0200 |
---|---|---|
committer | Ohad Ben-Cohen <[email protected]> | 2012-02-28 19:09:54 +0200 |
commit | fa2d7795b2e859574c86cf186e488d12178d51b3 (patch) | |
tree | af37a844c4531936e0236ead5d6a2ce80686d208 /net/lapb/lapb_timer.c | |
parent | 9cd8eb433cbd440b25d4080b5add998da21fdb9c (diff) |
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 <[email protected]>
Signed-off-by: Ohad Ben-Cohen <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Mark Grosen <[email protected]>
Cc: Suman Anna <[email protected]>
Cc: Fernando Guzman Lugo <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Ludovic BARRE <[email protected]>
Cc: Loic PALLARDY <[email protected]>
Cc: Omar Ramirez Luna <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions