summaryrefslogtreecommitdiffstats
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-11-02 13:02:49 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-03 12:09:20 +0100
commit7c2ef0240e6abfd3cc59511339517358350a8910 (patch)
tree9bd085132416fef41a076ecac30cdcc8fa461385 /mm/backing-dev.c
parentsecurity: call security_sctp_assoc_request in sctp_sf_do_5_1D_ce (diff)
downloadlinux-7c2ef0240e6abfd3cc59511339517358350a8910.tar.xz
linux-7c2ef0240e6abfd3cc59511339517358350a8910.zip
security: add sctp_assoc_established hook
security_sctp_assoc_established() is added to replace security_inet_conn_established() called in sctp_sf_do_5_1E_ca(), so that asoc can be accessed in security subsystem and save the peer secid to asoc->peer_secid. v1->v2: - fix the return value of security_sctp_assoc_established() in security.h, found by kernel test robot and 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 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions