aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2010-08-25 23:44:35 +0000
committerDavid S. Miller <[email protected]>2010-08-26 20:29:38 +0000
commitbfc960a8eec023a170a80697fe65157cd4f44f81 (patch)
treee93d7b48b1fa732b99ce07e820ef6b9c220eed61 /tools/perf/scripts/python/sctop.py
parenttcp: select(writefds) don't hang up when a peer close connection (diff)
downloadkernel-bfc960a8eec023a170a80697fe65157cd4f44f81.tar.gz
kernel-bfc960a8eec023a170a80697fe65157cd4f44f81.zip
l2tp: test for ethernet header in l2tp_eth_dev_recv()
close https://bugzilla.kernel.org/show_bug.cgi?id=16529 Before calling dev_forward_skb(), we should make sure skb head contains at least an ethernet header, even if length included in upper layer said so. Use pskb_may_pull() to make sure this ethernet header is present in skb head. Reported-by: Thomas Heil <[email protected]> Reported-by: Ian Campbell <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions