The patch titled taskstats: fix sk_buff size calculation has been removed from the -mm tree. Its filename was taskstats-fix-sk_buff-size-calculation.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: taskstats: fix sk_buff size calculation From: Oleg Nesterov <oleg@xxxxxxxxxx> prepare_reply() adds GENL_HDRLEN to the payload (genlmsg_total_size()), but then it does genlmsg_put()->nlmsg_put(). This means we forget to reserve a room for 'struct nlmsghdr', no? Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/taskstats.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN kernel/taskstats.c~taskstats-fix-sk_buff-size-calculation kernel/taskstats.c --- a/kernel/taskstats.c~taskstats-fix-sk_buff-size-calculation +++ a/kernel/taskstats.c @@ -77,7 +77,8 @@ static int prepare_reply(struct genl_inf /* * If new attributes are added, please revisit this allocation */ - skb = nlmsg_new(genlmsg_total_size(size), GFP_KERNEL); + size = nlmsg_total_size(genlmsg_total_size(size)); + skb = nlmsg_new(size, GFP_KERNEL); if (!skb) return -ENOMEM; _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch xacct_add_tsk-fix-pure-theoretical-mm-use-after-free.patch tty-signal-tty-locking.patch do_task_stat-dont-take-tty_mutex.patch do_acct_process-dont-take-tty_mutex.patch trivial-make-set_special_pids-static.patch sys_unshare-remove-a-broken-clone_sighand-code.patch sys_setpgid-eliminate-unnecessary-do_each_task_pidpidtype_pgid.patch session_of_pgrp-kill-unnecessary-do_each_task_pidpidtype_pgid.patch pidhash-temporary-debug-checks.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