# Re: \[PATCH v7 1/9\] net/compat: Add missing sock updates for SCM\_RIGHTS

- From: Christian Brauner \<hidden\>
- Date: 2020-07-10 11:29:24 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/07/183967
- Thread: https://ratatoskr.run/stable/2020/07/183921/t.md

```text
On Thu, Jul 09, 2020 at 11:26:34AM -0700, Kees Cook wrote:
> Add missed sock updates to compat path via a new helper, which will be
> used more in coming patches. (The net/core/scm.c code is left as-is here
> to assist with -stable backports for the compat path.)
> 
> Cc: <redacted>
> Fixes: 48a87cc26c13 ("net: netprio: fd passed in SCM_RIGHTS datagram not set correctly")
> Fixes: d84295067fc7 ("net: net_cls: fd passed in SCM_RIGHTS datagram not set correctly")
> Signed-off-by: Kees Cook <redacted>
> ---

Thanks!
Acked-by: Christian Brauner <redacted>
```
