]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Purge the to_be_accepted queue on socket release
authorDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:49:11 +0000 (10:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:51:54 +0000 (10:51 +0100)
commit251deac9d24cc6d6d2c38a9445a38afa32635507
tree0366bddbebf16022d37346d561c970cca200da77
parente063d65c186b51dcfa97fa56373269d2542c49bc
rxrpc: Purge the to_be_accepted queue on socket release

Purge the queue of to_be_accepted calls on socket release.  Note that
purging sock_calls doesn't release the ref owned by to_be_accepted.

Probably the sock_calls list is redundant given a purges of the recvmsg_q,
the to_be_accepted queue and the calls tree.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_object.c