]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xen-netback: fix memory leaks on XenBus disconnect
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Tue, 17 Jan 2017 20:49:37 +0000 (20:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2017 20:11:20 +0000 (15:11 -0500)
commit9a6cdf52b85ea5fb21d2bb31e4a7bc61b79923a7
tree043bc0debf7bbdc8b45c8e82ac3a05cb33207b6b
parent6acbe3716034a159f2e9a810631e40bc85af0458
xen-netback: fix memory leaks on XenBus disconnect

Eliminate memory leaks introduced several years ago by cleaning the
queue resources which are allocated on XenBus connection event. Namely, queue
structure array and pages used for IO rings.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c