From: Ido Schimmel
Date: Mon, 27 Jul 2020 10:18:34 +0300
> Cited commit mistakenly copied provided option to 'val' instead of to
> 'mfc':
>
> ```
> - if (copy_from_user(&mfc, optval, sizeof(mfc))) {
> + if (copy_from_sockptr(&val, optval, sizeof(val))) {
> ```
>
> Fi
Looks good, thanks for catching it.
Reviewed-by: Christoph Hellwig
Cited commit mistakenly copied provided option to 'val' instead of to
'mfc':
```
- if (copy_from_user(&mfc, optval, sizeof(mfc))) {
+ if (copy_from_sockptr(&val, optval, sizeof(val))) {
```
Fix this by copying the option to 'mfc'.
selftest router_multicast.sh before: