]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Use a dynamic port if 7001 is in use
authorMarc Dionne <marc.dionne@auristor.com>
Thu, 2 Nov 2017 15:27:52 +0000 (15:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 13 Nov 2017 15:38:20 +0000 (15:38 +0000)
commit8099eb7cf575c0757961c506ad6949771e2a7651
tree80f7fc2995f2b3be2adc6fe5170d1c2b08d96e20
parent989ce9aae740013835166ef493e631afef1a38ad
afs: Use a dynamic port if 7001 is in use

It is not required that the afs client operate on port 7001.
The port could be in use because another kernel or userspace
client has already bound to it.

If the port is in use, just fallback to using a dynamic port.

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c