Revert "net: release reference to inet6_dev pointer"

This reverts commit b691264274 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-30 16:27:14 +00:00
parent a39cabc386
commit d9fef973fe

View File

@ -2756,7 +2756,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: