]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails
authorXin Long <lucien.xin@gmail.com>
Sun, 3 Mar 2019 09:54:53 +0000 (17:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2019 19:42:49 +0000 (11:42 -0800)
commit410918ca623faa18bca18d862a03d240697c0940
tree6689dacdd30c71a5e0e88dc0f9eee949f39e8e8b
parent8c07c1384e09699c558c22ae1de0faa74173d4c9
sctp: sctp_sock_migrate() returns error if sctp_bind_addr_dup() fails

It should fail to create the new sk if sctp_bind_addr_dup() fails
when accepting or peeloff an association.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c