[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170901.103022.450258953816266474.davem@davemloft.net>
Date: Fri, 01 Sep 2017 10:30:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, yossiku@...lanox.com, paul@...l-moore.com
Subject: Re: [PATCH net] udp: fix secpath leak
From: Paolo Abeni <pabeni@...hat.com>
Date: Fri, 1 Sep 2017 14:42:30 +0200
> From: Yossi Kuperman <yossiku@...lanox.com>
>
> After commit dce4551cb2ad ("udp: preserve head state for IP_CMSG_PASSSEC")
> we preserve the secpath for the whole skb lifecycle, but we also
> end up leaking a reference to it.
>
> We must clear the head state on skb reception, if secpath is
> present.
>
> Fixes: dce4551cb2ad ("udp: preserve head state for IP_CMSG_PASSSEC")
> Signed-off-by: Yossi Kuperman <yossiku@...lanox.com>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied.
Powered by blists - more mailing lists