Re: [PATCH net 1/3] enetc: Fix NULL dma address unmap for Tx BD extensions

2019-05-15 Thread David Miller
From: Claudiu Manoil Date: Wed, 15 May 2019 19:08:56 +0300 > For the unlikely case of TxBD extensions (i.e. ptp) > the driver tries to unmap the tx_swbd corresponding > to the extension, which is bogus as it has no buffer > attached. > > Signed-off-by: Claudiu Manoil Applied.

[PATCH net 1/3] enetc: Fix NULL dma address unmap for Tx BD extensions

2019-05-15 Thread Claudiu Manoil
For the unlikely case of TxBD extensions (i.e. ptp) the driver tries to unmap the tx_swbd corresponding to the extension, which is bogus as it has no buffer attached. Signed-off-by: Claudiu Manoil --- drivers/net/ethernet/freescale/enetc/enetc.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet