diff options
author | Tom Herbert <tom@quantonium.net> | 2018-02-14 20:22:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-16 11:10:23 +0300 |
commit | 19042316b9e12c93bf334a04d4dd7a4e846c7311 (patch) | |
tree | 0d9539de7308f0003fcee69abdc951baeedbdc7b /crypto/af_alg.c | |
parent | 725f5ae1a6953143101c4e4b963bb5221aa5c466 (diff) | |
download | linux-19042316b9e12c93bf334a04d4dd7a4e846c7311.tar.xz |
kcm: Call strp_stop before strp_done in kcm_attach
commit dff8baa261174de689a44572d0ea182d7aa70598 upstream.
In kcm_attach strp_done is called when sk_user_data is already
set to fail the attach. strp_done needs the strp to be stopped and
warns if it isn't. Call strp_stop in this case to eliminate the
warning message.
Reported-by: syzbot+88dfb55e4c8b770d86e3@syzkaller.appspotmail.com
Fixes: e5571240236c5652f ("kcm: Check if sk_user_data already set in kcm_attach"
Signed-off-by: Tom Herbert <tom@quantonium.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions