Skip to content
Commit 285eb9c3 authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller
Browse files

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: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a1f4064b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment