kernel: add missing in6_dev_put_clear call to an ipv6 network patch
authorFelix Fietkau <nbd@nbd.name>
Mon, 30 Apr 2018 12:03:28 +0000 (14:03 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 4 May 2018 07:43:54 +0000 (09:43 +0200)
commit999bb66b20b03c753801ecebf1ec2a03c6a63c96
tree470c0c8d8d8c9f27dedd807e2fa23f81cc0deb94
parent81573ea259247f1c6c1a7a490de174d0a6c48a64
kernel: add missing in6_dev_put_clear call to an ipv6 network patch

Fixes "unregister_netdevice: waiting for lo to become free. Usage count = 1"
messages which started appearing since the update to 4.4.103. That
problem was exposed by upstream commit 76da0704507bb ("ipv6: only call
ip6_route_dev_notify() once for NETDEV_UNREGISTER") backported to 4.4.x
branch in 2417da3f4d6bc.

Fixes: 2b664499cd622 ("kernel: bump 4.4 to 4.4.103 for 17.01")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 58f7b5b96c301176d639540df4723c798af2a999)
target/linux/generic/patches-4.4/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch