Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: majianpeng <majianpeng@gmail.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] net/ipv4:Remove two memleak reports by kmemeleak_not_leak.
Date: Tue, 17 Apr 2012 07:34:17 +0200	[thread overview]
Message-ID: <1334640857.2472.7.camel@edumazet-glaptop> (raw)
In-Reply-To: <201204171333149372727@gmail.com>

On Tue, 2012-04-17 at 13:33 +0800, majianpeng wrote:
> From fe9ae7e12cc7bdc56705eb504facb71aa86dfe65 Mon Sep 17 00:00:00 2001
> From: majianpeng <majianpeng@gmail.com>
> Date: Tue, 17 Apr 2012 13:29:55 +0800
> Subject: [PATCH] net/ipv4:Remove two memleak reports by kmemeleak_not_leak.
> 
> 
> Signed-off-by: majianpeng <majianpeng@gmail.com>
> ---
>  net/ipv4/route.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/ipv4/route.c b/net/ipv4/route.c
> index 167ea10..dd15648 100644
> --- a/net/ipv4/route.c
> +++ b/net/ipv4/route.c
> @@ -3505,6 +3505,6 @@ int __init ip_rt_init(void)
>   */
>  void __init ip_static_sysctl_init(void)
>  {
> -	register_sysctl_paths(ipv4_path, ipv4_skeleton);
> +	kmemleak_not_leak(register_sysctl_paths(ipv4_path, ipv4_skeleton));
>  }
>  #endif

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>

Thanks

  reply	other threads:[~2012-04-17  5:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17  5:33 [PATCH] net/ipv4:Remove two memleak reports by kmemeleak_not_leak majianpeng
2012-04-17  5:34 ` Eric Dumazet [this message]
2012-04-18  4:22 ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2012-04-17  1:41 majianpeng
2012-04-17  5:18 ` Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334640857.2472.7.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=majianpeng@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox