Commit 7d2510ca authored by David S. Miller's avatar David S. Miller

[UDP]: Fix typo in SO_BINDTODEVICE changes.

parent 58c3f05c
......@@ -176,8 +176,8 @@ static int udp_v4_get_port(struct sock *sk, unsigned short snum)
if (inet2->num == snum &&
sk2 != sk &&
!ipv6_only_sock(sk2) &&
(!sk2->bound_dev_if ||
!sk->bound_dev_if ||
(!sk2->sk_bound_dev_if ||
!sk->sk_bound_dev_if ||
sk2->sk_bound_dev_if == sk->sk_bound_dev_if) &&
(!inet2->rcv_saddr ||
!inet->rcv_saddr ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment