Re: [PATCH net-next] kcm: Call strp_stop before strp_done in kcm_attach

2018-02-14 Thread Eric Dumazet
On Wed, 2018-02-14 at 15:38 -0500, David Miller wrote: > From: Tom Herbert > Date: Wed, 14 Feb 2018 09:22:42 -0800 > > > 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 t

Re: [PATCH net-next] kcm: Call strp_stop before strp_done in kcm_attach

2018-02-14 Thread David Miller
From: Tom Herbert Date: Wed, 14 Feb 2018 09:22:42 -0800 > 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: syzb

[PATCH net-next] kcm: Call strp_stop before strp_done in kcm_attach

2018-02-14 Thread Tom Herbert
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+88dfb55e4c8b770d8...@syzkaller.appspotmail.com Fixes: e5571240236c5