NFSD: Support AF_INET6 in svc_addsock() function
authorAime Le Rouzic <aime.le-rouzic@bull.net>
Tue, 26 Jan 2010 19:03:56 +0000 (14:03 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 26 Jan 2010 22:55:56 +0000 (17:55 -0500)
commit205ba42308729f4f41f21d314a4435e7de5c9a2e
tree0b7f9ac0f79e2bb1a53fb06624b987f8640b282b
parent07396051a5c6901693a97e35cb731a01b0b348e4
NFSD: Support AF_INET6 in svc_addsock() function

Relax the address family check at the top of svc_addsock() to allow AF_INET6
listener sockets to be specified via /proc/fs/nfsd/portlist.

Signed-off-by: Aime Le Rouzic <aime.le-rouzic@bull.net>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svcsock.c