Hi Brian

Brian Haley wrote:
> ---
> 
> diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
> index 483a01d..e0945d4 100644
> --- a/net/sctp/ipv6.c
> +++ b/net/sctp/ipv6.c
> @@ -319,7 +319,8 @@ static void sctp_v6_get_saddr(struct sctp_sock *sk,
>                         __func__, asoc, dst, NIP6(daddr->v6.sin6_addr));
>  
>       if (!asoc) {
> -             ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL,
> +             ipv6_dev_get_saddr(NULL,
> +                                dst ? ip6_dst_idev(dst)->dev : NULL,
>                                  &daddr->v6.sin6_addr,
>                                  inet6_sk(&sk->inet.sk)->srcprefs,
>                                  &saddr->v6.sin6_addr);


I think this needs to use sock_net(sctp_opt2s(sk)) instead of NULL.

-vlad
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to