Re: [PATCH net] sctp: lack the check for ports in sctp_v6_cmp_addr

2016-03-01 Thread David Miller
From: Xin Long Date: Sun, 28 Feb 2016 10:03:51 +0800 > As the member .cmp_addr of sctp_af_inet6, sctp_v6_cmp_addr should also check > the port of addresses, just like sctp_v4_cmp_addr, cause it's invoked by > sctp_cmp_addr_exact(). > > Now sctp_v6_cmp_addr just check the

[PATCH net] sctp: lack the check for ports in sctp_v6_cmp_addr

2016-02-27 Thread Xin Long
As the member .cmp_addr of sctp_af_inet6, sctp_v6_cmp_addr should also check the port of addresses, just like sctp_v4_cmp_addr, cause it's invoked by sctp_cmp_addr_exact(). Now sctp_v6_cmp_addr just check the port when two addresses have different family, and lack the port check for two ipv6