The patch titled per task delay accounting taskstats interface: fix drop listener only on socket close has been added to the -mm tree. Its filename is per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-3.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: per task delay accounting taskstats interface: fix drop listener only on socket close From: Shailabh Nagar <nagar@xxxxxxxxxxxxxx> Remove listeners from per-cpu listener lists only if they've closed the socket (resulting in an ECONNREFUSED failure of genetlink unicast). For other errors returned by genlmsg_unicast like -EAGAIN which results from the receiver's buffer having insufficient space, userspace gets an ENOBUF warning and the kernel can continue. Signed-off-by: Shailabh Nagar <nagar@xxxxxxxxxxxxxx> Signed-off-by: Balbir Singh <balbir@xxxxxxxxxx> Signed-off-by: Chandra Seetharaman <sekharan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/taskstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/taskstats.c~per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-3 kernel/taskstats.c --- a/kernel/taskstats.c~per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-3 +++ a/kernel/taskstats.c @@ -129,7 +129,7 @@ static int send_reply(struct sk_buff *sk int ret; struct listener *s = list_entry(p, struct listener, list); ret = genlmsg_unicast(skb, s->pid); - if (ret) { + if (ret == -ECONNREFUSED) { list_del(&s->list); kfree(s); rc = ret; _ Patches currently in -mm which might be from nagar@xxxxxxxxxxxxxx are netlink-improve-string-attribute-validation.patch list_islast-utility.patch per-task-delay-accounting-setup.patch per-task-delay-accounting-sync-block-i-o-and-swapin-delay-collection.patch per-task-delay-accounting-cpu-delay-collection-via-schedstats.patch per-task-delay-accounting-utilities-for-genetlink-usage.patch per-task-delay-accounting-taskstats-interface.patch per-task-delay-accounting-delay-accounting-usage-of-taskstats-interface.patch per-task-delay-accounting-documentation.patch per-task-delay-accounting-proc-export-of-aggregated-block-i-o-delays.patch delay-accounting-taskstats-interface-send-tgid-once.patch per-task-delay-accounting-avoid-send-without-listeners.patch per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks.patch per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix.patch per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-2.patch per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-3.patch per-task-delay-accounting-taskstats-interface-control-exit-data-through-cpumasks-fix-cleanup.patch per-task-delay-accounting-taskstats-interface-documentation-fix.patch per-task-delay-accounting-taskstats-interface-fix-clone-skbs-for-each-listener.patch task-watchers-register-per-task-delay-accounting.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html