summaryrefslogtreecommitdiff
path: root/net/ipv6/ndisc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-04-22 13:46:56 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-24 20:58:49 +0300
commit9199cb7677b388b42e3d95c755090dfc5ab2b11a (patch)
tree54b0803b91ac40300508aad3a0fb08c57d69fa9a /net/ipv6/ndisc.c
parentb40c5f4fde22fb98eff205b3aece05b471c24eed (diff)
downloadlinux-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