diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-01-06 12:59:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-06 15:28:11 -0500 |
commit | 9e02d8caaf90077bc47e054e4c3a41736245a9f8 (patch) | |
tree | f14660beb0b501c734717dd8bdff3c56fcf43bfa /net/ethernet | |
parent | e06a03bdf8781d6a93a13d5bdf33d058ca498a86 (diff) | |
download | linux-9e02d8caaf90077bc47e054e4c3a41736245a9f8.tar.bz2 |
fsl/fman: double free on probe failure
"priv" is allocated with devm_kzalloc() so freeing it here with kfree()
will lead to a double free.
Fixes: 3933961682a3 ('fsl/fman: Add FMan MAC driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions