]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Add in missing lock during link initialization
authorAllan Stephens <Allan.Stephens@windriver.com>
Mon, 24 Jan 2011 21:22:43 +0000 (16:22 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 23 Feb 2011 23:05:19 +0000 (18:05 -0500)
commit7736c9ad3e374a9b9e7fa5047a49d65b33b6c3ed
tree6c8ad63e70694276fb9eb74a82549bb1c0cbcbf9
parent165bf2e5949dd32b223163640b0178eb0fef2a6f
tipc: Add in missing lock during link initialization

Ensure that the routine that starts up processing on a newly created
link endpoint takes the spinlock of the node object that owns the link,
to prevent possible conflicts with processing involving other links
owned by that node object.

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