Jeff Layton 7b9e8522a6 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>
2013-02-04 09:16:19 -05:00
..
2013-01-02 17:36:10 -08:00
2012-12-13 19:20:31 -08:00
2013-01-02 17:36:10 -08:00
2013-01-02 17:44:29 -08:00
2012-12-18 12:26:54 -08:00
2013-01-02 17:36:10 -08:00