linux_old1/drivers/net/ethernet/renesas
Dan Carpenter 9199cb7677 ravb: Double free on error in ravb_start_xmit()
If skb_put_padto() fails then it frees the skb.  I shifted that code
up a bit to make my error handling a little simpler.

Fixes: a0d2f20650 ("Renesas Ethernet AVB PTP clock driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-24 13:58:49 -04:00
..
Kconfig ptp_clock: Allow for it to be optional 2016-11-16 09:26:34 +01:00
Makefile Renesas Ethernet AVB PTP clock driver 2015-06-11 00:24:12 -07:00
ravb.h ravb: Add tx and rx clock internal delays mode of APSR 2017-01-29 18:35:43 -05:00
ravb_main.c ravb: Double free on error in ravb_start_xmit() 2017-04-24 13:58:49 -04:00
ravb_ptp.c ravb: make ravb_ptp_interrupt() *void* 2016-04-14 00:48:33 -04:00
sh_eth.c sh_eth: unmap DMA buffers when freeing rings 2017-04-18 22:04:32 -04:00
sh_eth.h sh_eth: add missing EESIPR bits 2017-01-30 22:05:43 -05:00