From: Jeff Layton Date: Mon, 28 Jan 2013 19:41:07 +0000 (-0500) Subject: nfsd: fix IPv6 address handling in the DRC X-Git-Tag: v3.9-rc1~40^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b9e8522a65886d8ae168547a67c3617b6ba83f1;p=pandora-kernel.git nfsd: fix IPv6 address handling in the DRC Currently, it only stores the first 16 bytes of any address. struct sockaddr_in6 is 28 bytes however, so we're currently ignoring the last 12 bytes of the address. Expand the c_addr field to a sockaddr_in6, and cast it to a sockaddr_in as necessary. Also fix the comparitor to use the existing RPC helpers for this. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed