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:
Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment