Re: [PATCH net] dccp: avoid deadlock in dccp_v4_ctl_send_reset

2016-07-09 Thread David Miller
From: Eric Dumazet Date: Fri, 08 Jul 2016 11:03:57 +0200 > From: Eric Dumazet > > In the prep work I did before enabling BH while handling socket backlog, > I missed two points in DCCP : > > 1) dccp_v4_ctl_send_reset() uses bh_lock_sock(), assuming BH were > blocked. It is not anymore always t

[PATCH net] dccp: avoid deadlock in dccp_v4_ctl_send_reset

2016-07-08 Thread Eric Dumazet
From: Eric Dumazet In the prep work I did before enabling BH while handling socket backlog, I missed two points in DCCP : 1) dccp_v4_ctl_send_reset() uses bh_lock_sock(), assuming BH were blocked. It is not anymore always true. 2) dccp_v4_route_skb() was using __IP_INC_STATS() instead of IP_I