]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use ep and asoc auth_enable properly
authorXin Long <lucien.xin@gmail.com>
Mon, 19 Aug 2019 14:02:47 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 01:27:29 +0000 (18:27 -0700)
commit499e2ad20d880c7f6f8e1681341be20d1111c010
tree173b5974828f1bb5d505436a12ae1833acb8ce22
parent7585289cf08c81291a4e683529795a6db08a942e
sctp: use ep and asoc auth_enable properly

sctp has per endpoint auth flag and per asoc auth flag, and
the asoc one should be checked when coming to asoc and the
endpoint one should be checked when coming to endpoint.

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