]> git.baikalelectronics.ru Git - kernel.git/commit
tun: annotate access to queue->trans_start
authorAntoine Tenart <atenart@kernel.org>
Tue, 12 Apr 2022 13:58:52 +0000 (15:58 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 14 Apr 2022 06:30:09 +0000 (08:30 +0200)
commit507a7d3636752c558749f57600c17d426b13638a
treea96c4192f8a45a0b213f319970f189c8a84d9578
parentc655c2ed8ea3c5ed29d67761a013b2d2aa8b0e57
tun: annotate access to queue->trans_start

Commit 1db7b89a838a ("net: annotate accesses to queue->trans_start")
introduced a new helper, txq_trans_cond_update, to update
queue->trans_start using WRITE_ONCE. One snippet in drivers/net/tun.c
was missed, as it was introduced roughly at the same time.

Fixes: 1db7b89a838a ("net: annotate accesses to queue->trans_start")
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20220412135852.466386-1-atenart@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/tun.c