[PATCH AUTOSEL 6.8 24/43] net: add copy_safe_from_sockptr() helper