Skip to contentSkip to conversation

compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl

PATCH New Florian Westphal 1 participant 1 message Apr 30, 2010 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl

fixes following error:
ioctl32(openl2tpd:7480): Unknown cmd fd(14) cmd(80487436){t:'t';sz:72} arg(ffa7e6c0) on socket:[105094]

---
 fs/compat_ioctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/compat_ioctl.c +1 -0
index c32a1b6..d7957d4 100644
@@ -1101,6 +1101,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.3.3