]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Record calls that need to be accepted
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)
commitc4144d054a53b85ac34904f7e05a92a585ff1181
tree07216f88a9bbc47c758d23e37a25e753b316b25b
parent1ff18d266f695e8ed122d0eeee8a2be71f866a21
rxrpc: Record calls that need to be accepted

Record calls that need to be accepted using sk_acceptq_added() otherwise
the backlog counter goes negative because sk_acceptq_removed() is called.
This causes the preallocator to malfunction.

Calls that are preaccepted by AFS within the kernel aren't affected by
this.

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