Revert "net: release reference to inet6_dev pointer"

This reverts commit 5e13e69ddf which is
commit 5cb249686e 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-24 18:03:34 +00:00
parent 6e12d0e4ec
commit 7b3ee41b62

View File

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