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: a0d2f20650e8 ("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
..
2017-02-03 11:13:17 -05:00
2017-02-27 18:43:47 -08:00
2017-02-05 16:11:57 -05:00
2017-02-09 17:24:29 -05:00
2017-02-05 16:11:57 -05:00
2017-03-08 22:17:10 -08:00
2017-03-08 22:17:10 -08:00
2017-02-17 12:42:24 -05:00