aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2015-10-09 15:42:21 -0700
committerDavid S. Miller <[email protected]>2015-10-12 19:45:48 -0700
commit5fcd2d8be43664f1b6a5add3d21a367411add9d4 (patch)
tree3cc46ec8ea75d7ddfed640d2be9b33f1aa80fce7 /tools/perf/scripts/python/compaction-times.py
parentb7a4609591612119869f2498732da98e4f8d5f4d (diff)
tun: use sk_fullsock() before reading sk->sk_tsflags
timewait or request sockets are small and do not contain sk->sk_tsflags Without this fix, we might read garbage, and crash later in __skb_complete_tx_timestamp() -> sock_queue_err_skb() (These pseudo sockets do not have an error queue either) Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener") Signed-off-by: Eric Dumazet <[email protected]> Cc: Willem de Bruijn <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions