diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/taskstats.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/taskstats.c b/kernel/taskstats.c index 8adfb8069c6d..f3c3e9d43d2c 100644 --- a/kernel/taskstats.c +++ b/kernel/taskstats.c | |||
@@ -411,7 +411,7 @@ static int taskstats_user_cmd(struct sk_buff *skb, struct genl_info *info) | |||
411 | return send_reply(rep_skb, info->snd_pid); | 411 | return send_reply(rep_skb, info->snd_pid); |
412 | 412 | ||
413 | nla_put_failure: | 413 | nla_put_failure: |
414 | return genlmsg_cancel(rep_skb, reply); | 414 | rc = genlmsg_cancel(rep_skb, reply); |
415 | err: | 415 | err: |
416 | nlmsg_free(rep_skb); | 416 | nlmsg_free(rep_skb); |
417 | return rc; | 417 | return rc; |
@@ -507,7 +507,6 @@ send: | |||
507 | 507 | ||
508 | nla_put_failure: | 508 | nla_put_failure: |
509 | genlmsg_cancel(rep_skb, reply); | 509 | genlmsg_cancel(rep_skb, reply); |
510 | goto ret; | ||
511 | err_skb: | 510 | err_skb: |
512 | nlmsg_free(rep_skb); | 511 | nlmsg_free(rep_skb); |
513 | ret: | 512 | ret: |