aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorGuillaume Nault <[email protected]>2018-06-15 13:39:19 +0000
committerDavid S. Miller <[email protected]>2018-06-15 16:12:37 +0000
commitecd012e45ab5fd76ed57546865897ce35920f56b (patch)
tree12d71dfe6a8eb01abc6b27ac4ba262a33387f291 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentl2tp: reject creation of non-PPP sessions on L2TPv2 tunnels (diff)
downloadkernel-ecd012e45ab5fd76ed57546865897ce35920f56b.tar.gz
kernel-ecd012e45ab5fd76ed57546865897ce35920f56b.zip
l2tp: filter out non-PPP sessions in pppol2tp_tunnel_ioctl()
pppol2tp_tunnel_ioctl() can act on an L2TPv3 tunnel, in which case 'session' may be an Ethernet pseudo-wire. However, pppol2tp_session_ioctl() expects a PPP pseudo-wire, as it assumes l2tp_session_priv() points to a pppol2tp_session structure. For an Ethernet pseudo-wire l2tp_session_priv() points to an l2tp_eth_sess structure instead, making pppol2tp_session_ioctl() access invalid memory. Fixes: d9e31d17ceba ("l2tp: Add L2TP ethernet pseudowire support") Signed-off-by: Guillaume Nault <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions