]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Add missing locks in broadcast link statistics accumulation
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 26 Oct 2011 20:13:35 +0000 (16:13 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:18 +0000 (16:59 -0500)
commit10152a8b966363dceb15e9e2f2589e9df2abe32f
tree0bef1102cf7010554b0937caef31c2fb35678bca
parent297025c94f6991922ac28de584040074f80b385a
tipc: Add missing locks in broadcast link statistics accumulation

Ensures that all attempts to update broadcast link statistics are done
only while holding the lock that protects the link's main data structures,
to prevent interference by simultaneous updates caused by messages
arriving on other interfaces.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bcast.c