Commit 63d6889d authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by David S. Miller

[IPV6]: Typo in address comparison.

parent 1894c622
...@@ -992,7 +992,7 @@ int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2) ...@@ -992,7 +992,7 @@ int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2)
!ipv6_addr_cmp(&np->rcv_saddr, !ipv6_addr_cmp(&np->rcv_saddr,
(sk2->sk_state != TCP_TIME_WAIT ? (sk2->sk_state != TCP_TIME_WAIT ?
&inet6_sk(sk2)->rcv_saddr : &inet6_sk(sk2)->rcv_saddr :
&tcptw_sk(sk)->tw_v6_rcv_saddr))) &tcptw_sk(sk2)->tw_v6_rcv_saddr)))
return 1; return 1;
if (addr_type == IPV6_ADDR_MAPPED && if (addr_type == IPV6_ADDR_MAPPED &&
......
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