Brian, Looks good to me. +-DLS
Acked-by: David L Stevens <[EMAIL PROTECTED]> > How about the simple patch below? I just removed the ENINVAL check from > my original patch, but it accomplishes the same thing. ... > > Signed-off-by: Brian Haley <[EMAIL PROTECTED]> > --- > diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c > index 2ed689a..5d4245a 100644 > --- a/net/ipv6/datagram.c > +++ b/net/ipv6/datagram.c > @@ -123,11 +123,11 @@ ipv4_connected: > goto out; > } > sk->sk_bound_dev_if = usin->sin6_scope_id; > - if (!sk->sk_bound_dev_if && > - (addr_type & IPV6_ADDR_MULTICAST)) > - fl.oif = np->mcast_oif; > } > > + if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST)) > + sk->sk_bound_dev_if = np->mcast_oif; > + > /* Connect to link-local address requires an interface */ > if (!sk->sk_bound_dev_if) { > err = -EINVAL; -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html