]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-linux.c
lib/netdev-linux: Use atomic_count for 'miimon_cnt'.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 Aug 2014 17:34:53 +0000 (10:34 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 29 Aug 2014 17:34:53 +0000 (10:34 -0700)
commit812c272cde924d22124f504f217ef574b59c0dff
treeb3c9265c554bfee5eae08c5b8ad9397fe5fa9093
parent97e5b2e58a382dc3c07a36e2252115d594a905d1
lib/netdev-linux: Use atomic_count for 'miimon_cnt'.

'miimon_cnt' and the actual device miimon configuration is only
loosely coupled, so we can use the relaxed atomic_count for it.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/netdev-linux.c