mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
net: Fix bug in compat SIOCGETSGCNT handling.
Commit 709b46e8d9
("net: Add compat
ioctl support for the ipv4 multicast ioctl SIOCGETSGCNT") added the
correct plumbing to handle SIOCGETSGCNT properly.
However, whilst definiting a proper "struct compat_sioc_sg_req" it
isn't actually used in ipmr_compat_ioctl().
Correct this oversight.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9690c636ac
commit
0033d5ad27
1 changed files with 1 additions and 1 deletions
|
@ -1446,7 +1446,7 @@ struct compat_sioc_sg_req {
|
|||
|
||||
int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
|
||||
{
|
||||
struct sioc_sg_req sr;
|
||||
struct compat_sioc_sg_req sr;
|
||||
struct mfc_cache *c;
|
||||
struct net *net = sock_net(sk);
|
||||
struct mr_table *mrt;
|
||||
|
|
Loading…
Reference in a new issue