Re: [PATCH net] ppp: avoid loop in xmit recursion detection code

2018-03-22 Thread David Miller
From: Guillaume Nault Date: Tue, 20 Mar 2018 16:49:26 +0100 > We already detect situations where a PPP channel sends packets back to > its upper PPP device. While this is enough to avoid deadlocking on xmit > locks, this doesn't prevent packets from looping between the channel > and the unit. >

[PATCH net] ppp: avoid loop in xmit recursion detection code

2018-03-20 Thread Guillaume Nault
We already detect situations where a PPP channel sends packets back to its upper PPP device. While this is enough to avoid deadlocking on xmit locks, this doesn't prevent packets from looping between the channel and the unit. The problem is that ppp_start_xmit() enqueues packets in ppp->file.xq be