From: Ido Schimmel <ido...@mellanox.com> 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))) { > ``` > > Fix this by copying the option to 'mfc'. > > selftest router_multicast.sh before: ... > selftest router_multicast.sh after: ... > Fixes: 01ccb5b48f08 ("net/ipv4: switch ip_mroute_setsockopt to sockptr_t") > Signed-off-by: Ido Schimmel <ido...@mellanox.com> Applied, thank you.