commit | ed4420a3b412b09cc60d6e3d662428b7e6c36e90 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Sat Mar 15 14:55:32 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Mar 28 06:54:02 2014 -0700 |
tree | f7b57251f5948e2f4c1f6e9b35c2d0a77a3eae79 | |
parent | afc835d1bda13923e3792d838dae1fa34c506b09 [diff] |
igb: fix race conditions on queuing skb for HW time stamp igb has a single set of TX time stamping resources per NIC. Use a simple bit lock to avoid race conditions and leaking skbs when multiple TX rings try to claim time stamping. Signed-off-by: Jakub Kicinski <kubakici@wp.pl> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>