virtio-net: fix leaking of ctx array
authorJason Wang <jasowang@redhat.com>
Fri, 7 Jul 2017 11:56:09 +0000 (19:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jul 2017 19:03:41 +0000 (20:03 +0100)
commit55281621b6047d2ffb934a0b984ab0cdb1ad1d76
tree06bc06547abaf73e266bd0012d37a781ed6caf93
parent0eaf83de7ce201706f4fa38cf93d9dd20c2a9d24
virtio-net: fix leaking of ctx array

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