You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ipv6: Fix conflict resolutions during ipv6 binding
The ipv6 version of bind_conflict code calls ipv6_rcv_saddr_equal() which at times wrongly identified intersections between addresses. It particularly broke down under a few instances and caused erroneous bind conflicts. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
63d9950b08
commit
b2f5e7cd3d
@@ -124,6 +124,8 @@ static inline void udp_lib_close(struct sock *sk, long timeout)
|
||||
sk_common_release(sk);
|
||||
}
|
||||
|
||||
extern int ipv4_rcv_saddr_equal(const struct sock *sk1,
|
||||
const struct sock *sk2);
|
||||
extern int udp_lib_get_port(struct sock *sk, unsigned short snum,
|
||||
int (*)(const struct sock*,const struct sock*));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user