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)
commit214dda4a36329fdd631e3aac0fee6e6fa369db62
tree6c8ad63e70694276fb9eb74a82549bb1c0cbcbf9
parentcb7ce91448c01724e18c1759aa5aba86e5f1c69b
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