compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl
PATCH RESEND 1/1 compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl
From: Florian Westphal <[email protected]>
fixes following error:
ioctl32(openl2tpd:7480): Unknown cmd fd(14) cmd(80487436){t:'t';sz:72} arg(ffa7e6c0) on socket:[105094]
The structure used in the ioctl uses "aligned_u64" and thus doesn't need fixups.
Signed-off-by Florian Westphal <[email protected]>
---
noticed that this wasn't applied, most likely due to vger outage back in April.
fs/compat_ioctl.c +1 -0
@@ -1100,6 +1100,7 @@ COMPATIBLE_IOCTL(PPPIOCCONNECT) COMPATIBLE_IOCTL(PPPIOCDISCONN) COMPATIBLE_IOCTL(PPPIOCATTCHAN) COMPATIBLE_IOCTL(PPPIOCGCHAN) +COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS) /* PPPOX */ COMPATIBLE_IOCTL(PPPOEIOCSFWD) COMPATIBLE_IOCTL(PPPOEIOCDFWD)
Signature · 1 line
1.6.4.4