summaryrefslogtreecommitdiff
path: root/contrib/webcscope/icons/CVS/Root
blob: e0eb5513c8f27c6dc26a7a9d9a802caa0dbe51f3 (plain)
1
broeker@cscope.cvs.sourceforge.net:/cvsroot/cscope
eff Layton <jlayton@redhat.com>2013-01-28 14:41:07 -0500 committerJ. Bruce Fields <bfields@redhat.com>2013-02-04 09:16:19 -0500 commit7b9e8522a65886d8ae168547a67c3617b6ba83f1 (patch) tree285c0d08f3e967abb7e3c33e4846da353270183b /fs/nfsd/cache.h parent885c91f74662404dc179b8775494df383479311c (diff)
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 <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/cache.h')