]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/psample/psample.c
net: sched: act_sample: fix psample group handling on overwrite
[mirror_ubuntu-bionic-kernel.git] / net / psample / psample.c
index 64f95624f21939c946e0bb256a40d825588e0fd2..4cea353221da7b2919017b2493dc548b0f0fe000 100644 (file)
@@ -156,7 +156,7 @@ static void psample_group_destroy(struct psample_group *group)
 {
        psample_group_notify(group, PSAMPLE_CMD_DEL_GROUP);
        list_del(&group->list);
-       kfree(group);
+       kfree_rcu(group, rcu);
 }
 
 static struct psample_group *