diff options
| author | Vitaly Kuznetsov <[email protected]> | 2016-05-30 14:17:58 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2016-06-17 17:45:30 +0000 |
| commit | 60fcdac8136b4275da42d6edf9ddb10439350289 (patch) | |
| tree | f354a033c1e21ce6b6e13e4d24299507a31f51a1 /drivers/net/xen-netback/interface.c | |
| parent | Linux 4.7-rc2 (diff) | |
| download | kernel-60fcdac8136b4275da42d6edf9ddb10439350289.tar.gz kernel-60fcdac8136b4275da42d6edf9ddb10439350289.zip | |
PCI: hv: Don't leak buffer in hv_pci_onchannelcallback()
We don't free buffer on several code paths in hv_pci_onchannelcallback(),
put kfree() to the end of the function to fix the issue. Direct { kfree();
return; } can now be replaced with a simple 'break';
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jake Oshins <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
