diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-04-24 15:07:59 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-06-01 00:29:38 (GMT) |
commit | e7a0444aef4a1649bc155fd5c6d6ab3f8bdc88ab (patch) | |
tree | e3afdeb61ecb045dd95c371f4d6cc89246d0663b /net/sunrpc | |
parent | 45eaa1c1a16122a98bf995c004c23806759d2e5f (diff) | |
download | linux-fsl-qoriq-e7a0444aef4a1649bc155fd5c6d6ab3f8bdc88ab.tar.xz |
nfsd: add IPv6 addr escaping to fs_location hosts
The fs_location->hosts list is split on colons, but this doesn't work when
IPv6 addresses are used (they contain colons).
This patch adds the function nfsd4_encode_components_esc() to
allow the caller to specify escape characters when splitting on 'sep'.
In order to fix referrals, this patch must be used with the mountd patch
that similarly fixes IPv6 [] escaping.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions