commit | 9ce34f023d6025af89087472f0327e0a81073167 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Sat Mar 15 14:55:42 2014 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Jul 16 13:19:41 2014 -0700 |
tree | ba743be7d2e5ee585eb0712992e9144ed13361ba | |
parent | 259afec7c34bbaa0236edd7e6ad811c4dce2fb1b [diff] |
i40e: fix race conditions on queuing skb for HW time stamp i40e 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: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>