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)
commit0360da6db7d6390e7bd2f6c93b01af29bcd36ad5
tree0366bddbebf16022d37346d561c970cca200da77
parente6f3afb3fc058e17b407b6f7cac08058b19e641c
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