commit | b37c0fbe3f6dfba1f8ad2aed47fb40578a254635 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Feb 07 02:29:06 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Mar 12 20:23:57 2012 -0700 |
tree | 8059fe5b80795afc4931492fe4fa1991c4805561 | |
parent | 5c4903549c05bbb373479e0ce2992573c120654a [diff] |
net: Add memory barriers to prevent possible race in byte queue limits This change adds a memory barrier to the byte queue limit code to address a possible race as has been seen in the past with the netif_stop_queue/netif_wake_queue logic. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Stephen Ko <stephen.s.ko@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>