SUNRPC: Ensure IPV6_V6ONLY is set on the socket before binding to a port
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Mar 2009 22:59:17 +0000 (18:59 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 1 Apr 2009 17:24:29 +0000 (13:24 -0400)
commitc69da774b28e01e062e0a3aba7509f2dcfd2a11a
treee406bb8055548fcfcd3796881c263fe44dc69443
parentad5b365c1266b0c9e8e254a3c1cc4ef66bf33cba
SUNRPC: Ensure IPV6_V6ONLY is set on the socket before binding to a port

Also ensure that we use the protocol family instead of the address
family when calling sock_create_kern().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svcsock.c