commit | 7d8697afae5c61a9495fff54a1c5d053dea4505f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Aug 25 11:24:28 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 25 17:13:04 2017 -0700 |
tree | e91086000e13794f78f8aa263642a070d77e6a06 | |
parent | cf4828d1666beaef513ce3c8f9e4fe4af1ff4e87 [diff] |
hinic: skb_pad() frees on error The skb_pad() function frees the skb on error, so this code has a double free. Fixes: 00e57a6d4ad3 ("net-next/hinic: Add Tx operation") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>