Message ID | 20200822172955.kJFfKHqDV%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [merged] kernel-relayc-fix-memleak-on-destroy-relay-channel.patch removed from -mm tree | expand |
--- a/kernel/relay.c~kernel-relayc-fix-memleak-on-destroy-relay-channel +++ a/kernel/relay.c @@ -197,6 +197,7 @@ free_buf: static void relay_destroy_channel(struct kref *kref) { struct rchan *chan = container_of(kref, struct rchan, kref); + free_percpu(chan->buf); kfree(chan); }