net: Add memory barriers to prevent possible race in byte queue limits
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Feb 2012 02:29:06 +0000 (02:29 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Mar 2012 03:23:57 +0000 (20:23 -0700)
commitb37c0fbe3f6dfba1f8ad2aed47fb40578a254635
tree8059fe5b80795afc4931492fe4fa1991c4805561
parent5c4903549c05bbb373479e0ce2992573c120654a
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>
include/linux/netdevice.h
This page took 0.026926 seconds and 5 git commands to generate.