Re: [PATCH net] irda: fix a potential use-after-free in ircomm_param_request

2016-01-29 Thread David Miller
From: Cong Wang Date: Fri, 29 Jan 2016 11:58:03 -0800 > self->ctrl_skb is protected by self->spinlock, we should not > access it out of the lock. Move the debugging printk inside. > > Reported-by: Dmitry Vyukov > Cc: Samuel Ortiz > Signed-off-by: Cong Wang Applied, thanks.

[PATCH net] irda: fix a potential use-after-free in ircomm_param_request

2016-01-29 Thread Cong Wang
self->ctrl_skb is protected by self->spinlock, we should not access it out of the lock. Move the debugging printk inside. Reported-by: Dmitry Vyukov Cc: Samuel Ortiz Signed-off-by: Cong Wang --- net/irda/ircomm/ircomm_param.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git