summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-11-02 13:02:48 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-03 12:09:20 +0100
commite215dab1c49070cd75620afd801f777207a5b65c (patch)
treed54394cd5de5eaf0a972b28444e6b76861e3915a /security/security.c
parentsecurity: pass asoc to sctp_assoc_request and sctp_sk_clone (diff)
downloadlinux-e215dab1c49070cd75620afd801f777207a5b65c.tar.xz
linux-e215dab1c49070cd75620afd801f777207a5b65c.zip
security: call security_sctp_assoc_request in sctp_sf_do_5_1D_ce
The asoc created when receives the INIT chunk is a temporary one, it will be deleted after INIT_ACK chunk is replied. So for the real asoc created in sctp_sf_do_5_1D_ce() when the COOKIE_ECHO chunk is received, security_sctp_assoc_request() should also be called. v1->v2: - fix some typo and grammar errors, noticed by Ondrej. Fixes: 72e89f50084c ("security: Add support for SCTP security hooks") Reported-by: Prashanth Prahlad <pprahlad@redhat.com> Reviewed-by: Richard Haines <richard_c_haines@btinternet.com> Tested-by: Richard Haines <richard_c_haines@btinternet.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions