aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/server.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-05-09 22:03:18 +0100
committerDavid Howells <dhowells@redhat.com>2018-05-14 13:17:35 +0100
commit01fd79e6de74a447c5657913a335d9ce6508cdb1 (patch)
tree167b975bab2db0a28e9f620c1d74e4980d34cf70 /fs/afs/server.c
parentafs: Fix directory page locking (diff)
downloadlinux-dev-01fd79e6de74a447c5657913a335d9ce6508cdb1.tar.xz
linux-dev-01fd79e6de74a447c5657913a335d9ce6508cdb1.zip
afs: Fix address list parsing
The parsing of port specifiers in the address list obtained from the DNS resolution upcall doesn't work as in4_pton() and in6_pton() will fail on encountering an unexpected delimiter (in this case, the '+' marking the port number). However, in*_pton() can't be given multiple specifiers. Fix this by finding the delimiter in advance and not relying on in*_pton() to find the end of the address for us. Fixes: 8b2a464ced77 ("afs: Add an address list concept") Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/server.c')
0 files changed, 0 insertions, 0 deletions