[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854348: ipv6: refcnt pb when removing a peer address



On Mon, 2017-02-06 at 11:09 +0100, Nicolas Dichtel wrote:
> Package: src:linux
> Version: 3.16.39-1
> Severity: important
> Tags: patch
> 
> Dear Maintainer,
> 
> Under some circumstances, when an ipv6 peer addresse is removed, there is a
> refcnt problem:
>   kernel:[ 9614.220549] unregister_netdevice: waiting for lo to become free. Usage count = 2
> 
> This bug has been fixed by the following upstream patch:
>   f24062b07dda ipv6: fix a refcnt leak with peer addr
> 
> You may also consider backporting thoses patches:
>   e7478dfc4656 ipv6: use addrconf_get_prefix_route() to remove peer addr

I'm happy to apply those two.

>   8e3d5be73681 ipv6: Avoid double dst_free
[...]

I don't understand this well enough to safely backport it.  Do you know
whether the issue it fixes actually exists in 3.16?  Also, it needs at
least one follow-on fix:

   02bcf4e082e4 ipv6: Check rt->dst.from for the DST_NOCACHE route

Ben.

-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain. - Lily
Tomlin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: