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

Skip to content
Commit e818d4df authored by Chris Lew's avatar Chris Lew
Browse files

net: qrtr: Detach socket from sock during release



There is a race between releasing a socket and a sock structure. Skbs
still in flight may hold references to the sock structure, preventing
it from being freed when the socket is released. Detach the socket in
the release call to prevent references to that sockets resources.

Change-Id: I44ac553cf73b3a2148ce50d7552c39b08f5e0f91
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 1cef27dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment