ipv6: Implement IPV6_UNICAST_IF socket option.
The IPV6_UNICAST_IF feature is the IPv6 compliment to IP_UNICAST_IF. Signed-off-by: Erich E. Hoover <ehoover@mines.edu> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
76e21053b5
commit
c4062dfc42
@@ -1130,7 +1130,8 @@ do_udp_sendmsg:
|
||||
if (!fl6.flowi6_oif && ipv6_addr_is_multicast(&fl6.daddr)) {
|
||||
fl6.flowi6_oif = np->mcast_oif;
|
||||
connected = 0;
|
||||
}
|
||||
} else if (!fl6.flowi6_oif)
|
||||
fl6.flowi6_oif = np->ucast_oif;
|
||||
|
||||
security_sk_classify_flow(sk, flowi6_to_flowi(&fl6));
|
||||
|
||||
|
Reference in New Issue
Block a user