netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: Davide Caratti <dcaratti@redhat.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>,
	Jiri Pirko <jiri@resnulli.us>,
	"David S. Miller" <davem@davemloft.net>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>,
	Amir Vadai <amir@vadai.me>
Subject: Re: [PATCH net] net/sched: act_tunnel_key: fix memory leak in case of action replace
Date: Fri, 11 Jan 2019 14:25:58 -0800	[thread overview]
Message-ID: <CAM_iQpVM43ufRm1eV1=kpGfYHPPRCX_rJV8CsvsRcM+UWyaSuQ@mail.gmail.com> (raw)
In-Reply-To: <61be610db89454f4ad2a02e18e213931dda26963.1547147773.git.dcaratti@redhat.com>

On Thu, Jan 10, 2019 at 11:21 AM Davide Caratti <dcaratti@redhat.com> wrote:
> when the tunnel_key action is replaced, the kernel forgets to release the
> dst metadata: ensure they are released by tunnel_key_init(), the same way
> it's done in tunnel_key_release().
>
> Fixes: d0f6dd8a914f4 ("net/sched: Introduce act_tunnel_key")
> Signed-off-by: Davide Caratti <dcaratti@redhat.com>

Acked-by: Cong Wang <xiyou.wangcong@gmail.com>

  reply	other threads:[~2019-01-11 22:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 19:21 [PATCH net] net/sched: act_tunnel_key: fix memory leak in case of action replace Davide Caratti
2019-01-11 22:25 ` Cong Wang [this message]
2019-01-16  5:40 ` David Miller

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='CAM_iQpVM43ufRm1eV1=kpGfYHPPRCX_rJV8CsvsRcM+UWyaSuQ@mail.gmail.com' \
    --to=xiyou.wangcong@gmail.com \
    --cc=amir@vadai.me \
    --cc=davem@davemloft.net \
    --cc=dcaratti@redhat.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --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;
as well as URLs for NNTP newsgroup(s).