From: David Miller <davem@davemloft.net>
To: posk@google.com
Cc: netdev@vger.kernel.org, posk@posk.io
Subject: Re: [PATCH net-next] net: fix double-free in bpf_lwt_xmit_reroute
Date: Sun, 24 Feb 2019 22:25:43 -0800 (PST) [thread overview]
Message-ID: <20190224.222543.774089403248163510.davem@davemloft.net> (raw)
In-Reply-To: <20190224022501.71889-1-posk@google.com>
From: Peter Oskolkov <posk@google.com>
Date: Sat, 23 Feb 2019 18:25:01 -0800
> dst_output() frees skb when it fails (see, for example,
> ip_finish_output2), so it must not be freed in this case.
>
> Fixes: 3bd0b15281af ("bpf: add handling of BPF_LWT_REROUTE to lwt_bpf.c")
> Signed-off-by: Peter Oskolkov <posk@google.com>
Applied.
prev parent reply other threads:[~2019-02-25 6:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-24 2:25 [PATCH net-next] net: fix double-free in bpf_lwt_xmit_reroute Peter Oskolkov
2019-02-25 6:25 ` David Miller [this message]
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=20190224.222543.774089403248163510.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=posk@google.com \
--cc=posk@posk.io \
/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