Re: [PATCH net] sctp: set sin_port for addr param when checking duplicate address

2017-02-26 Thread David Miller
From: Xin Long Date: Fri, 24 Feb 2017 15:18:46 +0800 > Commit b8607805dd15 ("sctp: not copying duplicate addrs to the assoc's > bind address list") tried to check for duplicate address before copying > to asoc's bind_addr list from global addr list. > > But all the addrs' sin_ports in global add

[PATCH net] sctp: set sin_port for addr param when checking duplicate address

2017-02-23 Thread Xin Long
Commit b8607805dd15 ("sctp: not copying duplicate addrs to the assoc's bind address list") tried to check for duplicate address before copying to asoc's bind_addr list from global addr list. But all the addrs' sin_ports in global addr list are 0 while the addrs' sin_ports are bp->port in asoc's bi