Re: [NFS] Nfs4 over Ipv6 patch to fix ipv6 subnetting in /etc/exports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 12/02/2009 05:50 PM, Kelly Anderson wrote:
> --- ./support/export/client.c.orig	2009-11-30 08:06:18.000000000 -0700
> +++ ./support/export/client.c	2009-12-02 15:16:55.361725808 -0700
> @@ -505,16 +505,16 @@ check_subnet_v6(const struct sockaddr_in
>  			continue;
>  
>  		if (mask_match(address->sin6_addr.s6_addr32[0],
> -				sin6->sin6_addr.s6_addr[0],
> +				sin6->sin6_addr.s6_addr32[0],
>  		      		mask->sin6_addr.s6_addr32[0]) &&
>  		    mask_match(address->sin6_addr.s6_addr32[1],
> -				sin6->sin6_addr.s6_addr[1],
> +				sin6->sin6_addr.s6_addr32[1],
>  		      		mask->sin6_addr.s6_addr32[1]) &&
>  		    mask_match(address->sin6_addr.s6_addr32[2],
> -				sin6->sin6_addr.s6_addr[2],
> +				sin6->sin6_addr.s6_addr32[2],
>  		      		mask->sin6_addr.s6_addr32[2]) &&
>  		    mask_match(address->sin6_addr.s6_addr32[3],
> -				sin6->sin6_addr.s6_addr[3],
> +				sin6->sin6_addr.s6_addr32[3],
>  		      		mask->sin6_addr.s6_addr32[3]))
>  			return 1;
>  	}
I'm a bit confused here... I don't see a check_subnet_v6() routine
in support/export/client.c and from the git logs says there never
was a routine called check_subnet_v6()... what am I missing?

In the future, please add the Signed-off-by: label to the bottom
of the patch description... thanks!


steved.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
NFS maillist  -  NFS@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux