compat_ioctl: add compat handler for PPPIOCGL2TPSTATS
authorFlorian Westphal <[email protected]>
Sat, 6 Aug 2011 12:12:04 +0000 (12:12 +0000)
committerDavid S. Miller <[email protected]>
Mon, 8 Aug 2011 05:24:41 +0000 (22:24 -0700)
commit8bab6f14084460d722f253221efa4148d3fc8b16
tree858e3496efaa02cd12047f067b1ec1fc08923938
parentd547f727df86059104af2234804fdd538e112015
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]>
fs/compat_ioctl.c