summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/local_event.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-09-29 23:37:15 +0200
committerDavid Howells <dhowells@redhat.com>2016-09-29 23:57:47 +0200
commit1e9e5c9521d3667664a6e3c97075f71afec23720 (patch)
treefb2447d0038b67d5ee980ab075047db2311ee308 /net/rxrpc/local_event.c
parentrxrpc: When activating client conn channels, do state check inside lock (diff)
downloadlinux-1e9e5c9521d3667664a6e3c97075f71afec23720.tar.xz
linux-1e9e5c9521d3667664a6e3c97075f71afec23720.zip
rxrpc: Reduce the rxrpc_local::services list to a pointer
Reduce the rxrpc_local::services list to just a pointer as we don't permit multiple service endpoints to bind to a single transport endpoints (this is excluded by rxrpc_lookup_local()). The reason we don't allow this is that if you send a request to an AFS filesystem service, it will try to talk back to your cache manager on the port you sent from (this is how file change notifications are handled). To prevent someone from stealing your CM callbacks, we don't let AF_RXRPC sockets share a UDP socket if at least one of them has a service bound. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/local_event.c')
0 files changed, 0 insertions, 0 deletions