Skip to content
Commit 4747c1a8 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller
Browse files

phonet: use siocdevprivate



phonet has a single private ioctl that is broken in compat
mode on big-endian machines today because the data returned
from it is never copied back to user space.

Move it over to the ndo_siocdevprivate callback, which also
fixes the compat issue.

Cc: Remi Denis-Courmont <courmisch@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarRémi Denis-Courmont <courmisch@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 561d8352
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment