Re: [RFC] net: dp83640: expire old TX-skb
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2019-02-01 21:04:36
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2019-02-01 21:04:36
On 2019-01-30 20:26:06 [-0800], Richard Cochran wrote:
Thanks for the detailed explanation. This sounds like a really rare bug, but maybe you guys were able to trigger it reliably?
More or less reliably, yes. I had two switches (for the uplink of the PHY) and a third for my regular network during testing. I had one combination which triggered the issue after no longer than the fifth disconnect and another one which happily survived _a lot_ longer.
quoted
Purge old skbs in decode_txts().It is too bad that the Tx timestamp from the HW doesn't provide matching fields. Using the timeout is probably the best that we can do.
yeah. I've been looking around and it seems there is nothing. And since that packet from the PHY is sent very seen usually shortly after the transmit I went for something similar that is already done the RX path. Sebastian