Skip to content

Commit 8bab6f1

Browse files
Florian Westphaldavem330
Florian Westphal
authored andcommitted
compat_ioctl: add compat handler for PPPIOCGL2TPSTATS
fixes following error seen on x86_64 kernel: ioctl32(openl2tpd:7480): Unknown cmd fd(14) cmd(80487436){t:'t';sz:72} arg(ffa7e6c0) on socket:[105094] The argument (struct pppol2tp_ioc_stats) uses "aligned_u64" and thus doesn't need fixups. Cc: James Chapman <[email protected]> Cc: Alexander Viro <[email protected]> Cc: [email protected] Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d547f72 commit 8bab6f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/compat_ioctl.c

+1
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,7 @@ COMPATIBLE_IOCTL(PPPIOCCONNECT)
10031003
COMPATIBLE_IOCTL(PPPIOCDISCONN)
10041004
COMPATIBLE_IOCTL(PPPIOCATTCHAN)
10051005
COMPATIBLE_IOCTL(PPPIOCGCHAN)
1006+
COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS)
10061007
/* PPPOX */
10071008
COMPATIBLE_IOCTL(PPPOEIOCSFWD)
10081009
COMPATIBLE_IOCTL(PPPOEIOCDFWD)

0 commit comments

Comments
 (0)