]> 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)
commited118aa2f9af7305b2e46152c4e220bdb986526c
tree173b5974828f1bb5d505436a12ae1833acb8ce22
parent6b48d857e5677e134c9a753e40541afea92fda35
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