[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190224.222543.774089403248163510.davem@davemloft.net>
Date: Sun, 24 Feb 2019 22:25:43 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: posk@...gle.com
Cc: netdev@...r.kernel.org, posk@...k.io
Subject: Re: [PATCH net-next] net: fix double-free in bpf_lwt_xmit_reroute
From: Peter Oskolkov <posk@...gle.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@...gle.com>
Applied.
Powered by blists - more mailing lists