]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: remove races when changing mtu
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 25 Sep 2009 12:19:02 +0000 (12:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Sep 2009 03:15:47 +0000 (20:15 -0700)
commitad577542cf69607777e8919481d672316f0763c1
tree7fc265f766ef35cb6330e73680d83e6140fae30f
parenta0988c37a5952cd3de58110cb896f237534d8bca
e1000: remove races when changing mtu

this patch fixes a bug that occurs when routing packets and simultaneously
changing the mtu.  the rx_buffer_len variable is used during the rx cleanup
and if that changes on the fly without stopping traffic bad things happen

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c