From: David Miller <davem@davemloft.net>
To: phueber@kernsp.in
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv
Date: Sun, 26 Feb 2017 22:58:10 -0500 (EST) [thread overview]
Message-ID: <20170226.225810.2068448520693487748.davem@davemloft.net> (raw)
In-Reply-To: <20170226165819.27660-1-phueber@kernsp.in>
From: Paul Hüber <phueber@kernsp.in>
Date: Sun, 26 Feb 2017 17:58:19 +0100
> l2tp_ip_backlog_recv may not return -1 if the packet gets dropped.
> The return value is passed up to ip_local_deliver_finish, which treats
> negative values as an IP protocol number for resubmission.
>
> Signed-off-by: Paul Hüber <phueber@kernsp.in>
Applied and queued up for -stable, thanks.
prev parent reply other threads:[~2017-02-27 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-26 16:58 [PATCH net] l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv Paul Hüber
2017-02-27 3:58 ` 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=20170226.225810.2068448520693487748.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=phueber@kernsp.in \
/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).