# Re: \[PATCH net\] bpf: fix bpf\_setsockopts return value

- From: Daniel Borkmann \<daniel@iogearbox.net\>
- Date: 2017-08-24 23:37:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/08/11064038
- Thread: https://ratatoskr.run/netdev/2017/08/11064034/t.md

```text
On 08/25/2017 12:48 AM, Yuchung Cheng wrote:
> This patch fixes a bug causing any sock operations to always return EINVAL.
>
> Fixes: a5192c52377e ("bpf: fix to bpf_setsockops").
> Reported-by: Neal Cardwell <ncardwell@google.com>
> Signed-off-by: Yuchung Cheng <redacted>
> Acked-by: Neal Cardwell <ncardwell@google.com>
> Acked-by: Craig Gallek <redacted>

Ohh well, thanks for the fix!

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
```
