]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/rxrpc/af_rxrpc.c
rxrpc: Support service upgrade from a kernel service
authorDavid Howells <dhowells@redhat.com>
Wed, 18 Oct 2017 10:36:39 +0000 (11:36 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 18 Oct 2017 10:37:20 +0000 (11:37 +0100)
commita68f4a27f55f1d54e35c270aff89383da4b1b656
tree72d70f77bee499627425bfaf8df64693320dbc67
parent8a5f2166a6288ee4b5a393f1ebc8cfb26b0510f0
rxrpc: Support service upgrade from a kernel service

Provide support for a kernel service to make use of the service upgrade
facility.  This involves:

 (1) Pass an upgrade request flag to rxrpc_kernel_begin_call().

 (2) Make rxrpc_kernel_recv_data() return the call's current service ID so
     that the caller can detect service upgrade and see what the service
     was upgraded to.

Signed-off-by: David Howells <dhowells@redhat.com>
Documentation/networking/rxrpc.txt
fs/afs/internal.h
fs/afs/rxrpc.c
include/net/af_rxrpc.h
net/rxrpc/af_rxrpc.c
net/rxrpc/recvmsg.c