diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-22 13:46:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-24 20:58:49 +0300 |
commit | 9199cb7677b388b42e3d95c755090dfc5ab2b11a (patch) | |
tree | 54b0803b91ac40300508aad3a0fb08c57d69fa9a /net/ipv6/ndisc.c | |
parent | b40c5f4fde22fb98eff205b3aece05b471c24eed (diff) | |
download | linux-9199cb7677b388b42e3d95c755090dfc5ab2b11a.tar.xz |
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>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions