diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-08-25 11:24:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-25 17:13:04 -0700 |
commit | 7d8697afae5c61a9495fff54a1c5d053dea4505f (patch) | |
tree | e91086000e13794f78f8aa263642a070d77e6a06 /mm/msync.c | |
parent | cf4828d1666beaef513ce3c8f9e4fe4af1ff4e87 (diff) | |
download | blackbird-obmc-linux-7d8697afae5c61a9495fff54a1c5d053dea4505f.tar.gz blackbird-obmc-linux-7d8697afae5c61a9495fff54a1c5d053dea4505f.zip |
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>
Diffstat (limited to 'mm/msync.c')
0 files changed, 0 insertions, 0 deletions