]> git.baikalelectronics.ru Git - kernel.git/commit
sundance: get_stats proper locking
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 9 Oct 2010 02:17:01 +0000 (02:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2010 16:22:54 +0000 (09:22 -0700)
commitabe45cd3e4d6681a7ee5c84602ca620a22de12da
tree344ce2da410f2a9b37bc73511bce8cf16fa5dcd9
parent5a3081cc937632ba423a5705ede488d50deebe3e
sundance: get_stats proper locking

sundance get_stats() should not be run concurrently, add a lock to avoid
potential losses.

Note: Remove unused rx_lock field

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sundance.c