summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-02-28 10:03:51 +0800
committerDavid S. Miller <davem@davemloft.net>2016-03-01 17:25:12 -0500
commit40b4f0fd74e46c017814618d67ec9127ff20f157 (patch)
treeadcea5b2aceecbcfa9478e67652b166053dec08f /COPYING
parentf0da74bc8140001c6afd2a176e397c3c3aaca37a (diff)
downloadlinux-stable-40b4f0fd74e46c017814618d67ec9127ff20f157.tar.gz
linux-stable-40b4f0fd74e46c017814618d67ec9127ff20f157.tar.bz2
linux-stable-40b4f0fd74e46c017814618d67ec9127ff20f157.zip
sctp: lack the check for ports in sctp_v6_cmp_addr
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 addresses. that will make sctp_hash_cmp() cannot work well. so fix it by adding ports comparison in sctp_v6_cmp_addr(). Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions