Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5b895e2 authored by Abinaya P's avatar Abinaya P
Browse files

drivers: net: can: Use copy_from_user API in the ioctl from libcw



In the ADD_FRAME_FILTER callback, the frame ID details are stored
in libcw in ifreq structure. When the ADD_FRAME_FILTER ioctl is
invoked from libcw, copy the ifr_data passed from libcw in the
ioctl callback using copy_from_user API.

Change-Id: I5d9585394c52e1c0796ddab68aff02413b959b45
Signed-off-by: default avatarAbinaya P <abinayap@codeaurora.org>
parent a21201d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment