projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf585ae
)
[IPV6]: IPV6_MULTICAST_IF setting is ignored on link-local connect()
author
Brian Haley
<
[email protected]
>
Wed, 9 Jan 2008 07:52:21 +0000
(23:52 -0800)
committer
David S. Miller
<
[email protected]
>
Wed, 9 Jan 2008 07:52:21 +0000
(23:52 -0800)
Signed-off-by: Brian Haley <
[email protected]
>
Acked-by: David L Stevens <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv6/datagram.c
patch
|
blob
|
history
diff --git
a/net/ipv6/datagram.c
b/net/ipv6/datagram.c
index 2ed689ac449ec67cd6e0519b1a4ddab4d156e43d..5d4245ab4183fa0d47b4557471ac2b09f4459b47 100644
(file)
--- 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;