Re: [PATCH net v2] ipv6: release dst on error in ip6_dst_lookup_tail

2017-02-18 Thread David Miller
From: Willem de Bruijn Date: Sat, 18 Feb 2017 19:00:45 -0500 > From: Willem de Bruijn > > 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.") > Sig

Re: [PATCH net v2] ipv6: release dst on error in ip6_dst_lookup_tail

2017-02-18 Thread Eric Dumazet
On Sat, 2017-02-18 at 19:00 -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > 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-

[PATCH net v2] ipv6: release dst on error in ip6_dst_lookup_tail

2017-02-18 Thread Willem de Bruijn
From: Willem de Bruijn 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 --- net/ipv6/ip6_output.c | 6 -- 1 file c