mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
Handle IOC_VOID special case of passing an integer IOCTL argument through CUSE.
Submitted by: Vladimir Kondratyev <wulf@cicgroup.ru> Approved by: re (gjb)
This commit is contained in:
parent
8a0ddeb828
commit
010638ab22
1 changed files with 1 additions and 1 deletions
|
|
@ -1656,7 +1656,7 @@ cuse_client_ioctl(struct cdev *dev, unsigned long cmd,
|
|||
|
||||
cuse_cmd_lock(pccmd);
|
||||
|
||||
if (cmd & IOC_IN)
|
||||
if (cmd & (IOC_IN | IOC_VOID))
|
||||
memcpy(pcc->ioctl_buffer, data, len);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue