Re: [PATCH net] sctp: fix BH handling on socket backlog

2016-07-25 Thread David Miller
From: Marcelo Ricardo Leitner Date: Sat, 23 Jul 2016 00:32:48 -0300 > Now that the backlog processing is called with BH enabled, we have to > disable BH before taking the socket lock via bh_lock_sock() otherwise > it may dead lock: ... > Fixes: 860fbbc343bf ("sctp: prepare for socket backlog beh

[PATCH net] sctp: fix BH handling on socket backlog

2016-07-22 Thread Marcelo Ricardo Leitner
Now that the backlog processing is called with BH enabled, we have to disable BH before taking the socket lock via bh_lock_sock() otherwise it may dead lock: sctp_backlog_rcv() bh_lock_sock(sk); if (sock_owned_by_user(sk)) { if (sk_add_backl