]> 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)
commit046550ea5b006f3d1334b5fb55043ff1524deaa7
tree0bef1102cf7010554b0937caef31c2fb35678bca
parent01adf1550fdf8c7741c506d01c979cef7827e6ea
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