From: Paolo Abeni <[email protected]>
Date: Fri,  1 Sep 2017 14:42:30 +0200

> From: Yossi Kuperman <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Paolo Abeni <[email protected]>

Applied.

Reply via email to