Re: [PATCH] ppp: Fix false xmit recursion detect with two ppp devices

2017-07-18 Thread David Miller
From: gfree.w...@vip.163.com Date: Mon, 17 Jul 2017 18:34:42 +0800 > From: Gao Feng > > The global percpu variable ppp_xmit_recursion is used to detect the ppp > xmit recursion to avoid the deadlock, which is caused by one CPU tries to > lock the xmit lock twice. But it would report false recurs

[PATCH] ppp: Fix false xmit recursion detect with two ppp devices

2017-07-17 Thread gfree . wind
From: Gao Feng The global percpu variable ppp_xmit_recursion is used to detect the ppp xmit recursion to avoid the deadlock, which is caused by one CPU tries to lock the xmit lock twice. But it would report false recursion when one CPU wants to send the skb from two different PPP devices, like on