summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMatthew Vick <matthew.vick@intel.com>2012-12-13 07:20:37 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-01-18 04:58:15 -0800
commitbadc26dd648cb3017affb834e9f79995e3911335 (patch)
tree0219e7f9bdf0bc00c740b05571eefbebfd881a70 /tools/perf/scripts/python/netdev-times.py
parentfc5807511699787f69b202d0382eb9f11e1da412 (diff)
igb: Free any held skb that should have been timestamped on remove
To prevent a race condition where an skb has been saved to return the Tx timestamp later and the driver is removed, add a check to determine if we have an skb stored and, if so, free it. Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Matthew Vick <matthew.vick@intel.com> Acked-by: Jacob Keller <Jacob.e.keller@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions