commit | 151b260c624d47b2c78b2f887e4f791c09c73c17 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Sat Mar 15 14:55:21 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Mar 31 15:48:00 2014 -0700 |
tree | 6cb1fcce48b87be0e4fcf8f7d5ffb592587f79bc | |
parent | ff29a86ec9143ff1aa1901ae60f06f4980981df4 [diff] |
ixgbe: fix race conditions on queuing skb for HW time stamp ixgbe 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: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>