]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: support ipv6 nonlocal bind
authorXin Long <lucien.xin@gmail.com>
Fri, 22 Jul 2016 09:38:51 +0000 (17:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 17:46:04 +0000 (10:46 -0700)
commitb2fe6a55028ddf00b22687f18077e8e89d919522
tree181d0fed0f0af679f560e8c5058ede0d0dd01534
parentaa4a554db6ef9fa66bb3ad20ee5766b2ec97462f
sctp: support ipv6 nonlocal bind

This patch makes sctp support ipv6 nonlocal bind by adding
sp->inet.freebind and net->ipv6.sysctl.ip_nonlocal_bind
check in sctp_v6_available as what sctp did to support
ipv4 nonlocal bind (commit c44f01392491).

Reported-by: Shijoe George <spanjikk@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c