commit | 285eb9c37281c8c34bd604346a48d6627db51007 | [log] [tgz] |
---|---|---|
author | Ivan Vecera <ivecera@redhat.com> | Fri Jul 29 19:52:57 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 15:41:27 2016 -0700 |
tree | 00f7f6e43b5ba9cc8496614373c3170a00e123ef | |
parent | a1f4064b1aa34b8176bda36946bbb4a5ceeb4ce7 [diff] |
bna: change type of bna_id to atomic_t Change type of bna_id to atomic_t. The bnad_list_mutex is used to prevent a race when bna_id is incremented. After the change the mutex can be removed in the next step. Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>