Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaud Ebalard
Date: Friday, May 28, 2010 - 1:51 am

Hi,

Scott C Otto <otts@alcatel-lucent.com> writes:


ok. Thanks for the feedback. Can you comment on what is below?


Brian, I tested the patch on my Mobile Node: it fixes the regression. I
also updated the kernel on my Home Agent to a 2.6.34 with that fix and
everything works as expected. *For that aspect* and fwiw, you get my

Tested-by: Arnaud Ebalard <arno@natisbad.org>

For the SO_BINDTODEVICE aspect, I don't have code at hand to test if the
fix works as expected. We should also double check that this will not
break other paths which use the sk->sk_bound_dev_if with a different
semantic:

$ grep -R sk_bound_dev_if net/ | wc -l
125
$ grep -R 'sk_bound_dev_if = ' net/
net/ieee802154/raw.c:   sk->sk_bound_dev_if = dev->ifindex;
net/core/sock.c:        sk->sk_bound_dev_if = index;
net/ipv6/datagram.c:    sk->sk_bound_dev_if = usin->sin6_scope_id;
net/ipv6/datagram.c:    sk->sk_bound_dev_if = np->mcast_oif;
net/ipv6/af_inet6.c:    sk->sk_bound_dev_if = addr->sin6_scope_id;
net/ipv6/tcp_ipv6.c:    sk->sk_bound_dev_if = usin->sin6_scope_id;
net/ipv6/tcp_ipv6.c:    newsk->sk_bound_dev_if = treq->iif;
net/ipv6/raw.c:         sk->sk_bound_dev_if = addr->sin6_scope_id;
net/sctp/socket.c:      newsk->sk_bound_dev_if = sk->sk_bound_dev_if;
net/ipv4/ip_output.c:   sk->sk_bound_dev_if = arg->bound_dev_if;
net/ipv4/udp.c:         sk->sk_bound_dev_if = 0;
net/dccp/ipv6.c:        newsk->sk_bound_dev_if = ireq6->iif;
net/dccp/ipv6.c:        sk->sk_bound_dev_if = usin->sin6_scope_id;

Cheers,

a+
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0, Arnaud Ebalard, (Wed May 26, 10:01 am)
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b5 ..., YOSHIFUJI Hideaki, (Thu May 27, 10:39 am)
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b5 ..., Arnaud Ebalard, (Fri May 28, 1:51 am)
[PATCH] IPv6: fix Mobile IPv6 regression, Brian Haley, (Fri May 28, 11:17 am)
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b5 ..., YOSHIFUJI Hideaki, (Fri May 28, 11:40 am)
Re: [PATCH] IPv6: fix Mobile IPv6 regression, David Miller, (Fri May 28, 11:03 pm)
Re: [PATCH] IPv6: fix Mobile IPv6 regression, Jiri Olsa, (Mon May 31, 1:46 am)
Re: [PATCH] IPv6: fix Mobile IPv6 regression, Jiri Olsa, (Mon May 31, 5:49 am)