projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eaf83d
)
virtio-net: fix leaking of ctx array
author
Jason Wang
<jasowang@redhat.com>
Fri, 7 Jul 2017 11:56:09 +0000
(19:56 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 7 Jul 2017 19:03:41 +0000
(20:03 +0100)
Fixes: commit
d45b897b11ea
("virtio_net: allow specifying context for rx")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/virtio_net.c
b/drivers/net/virtio_net.c
index 2e69bcdc5b0754827ebcada5b16f39710cab3cf1..99a26a9efec1ab695bae833a1f9dca437e9dde5c 100644
(file)
--- a/
drivers/net/virtio_net.c
+++ b/
drivers/net/virtio_net.c
@@
-2229,6
+2229,7
@@
static int virtnet_find_vqs(struct virtnet_info *vi)
kfree(names);
kfree(callbacks);
kfree(vqs);
+ kfree(ctx);
return 0;