Commits

Willem de Bruijn committed 0b8c350c4da
ipv6: release dst on error in ip6_dst_lookup_tail [ Upstream commit 00ea1ceebe0d9f2dc1cc2b7bd575a00100c27869 ] If ip6_dst_lookup_tail has acquired a dst and fails the IPv4-mapped check, release the dst before returning an error. Fixes: ec5e3b0a1d41 ("ipv6: Inhibit IPv4-mapped src address on the wire.") Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>