Revert "net: release reference to inet6_dev pointer"

This reverts commit 014cab5329 which is
commit 5cb249686e67dbef3ffe53887fa725eefc5a7144 upstream.

It breaks the Android ABI, and is already merged in the non-LTS branch
in an abi-safe way.

Bug: 161946584
Change-Id: I563f7eb7ffb01d9681f6a1dbb0252ca32b94f856
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2023-10-28 07:04:23 +00:00
parent 8af75db0da
commit ea0ddd540d

View File

@@ -2751,7 +2751,7 @@ void addrconf_prefix_rcv(struct net_device *dev, u8 *opt, int len, bool sllao)
}
if (valid_lft != 0 && valid_lft < in6_dev->cnf.accept_ra_min_lft)
goto put;
return;
/*
* Two things going on here: