]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: move received discovery data evaluation inside node.c
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 30 Jul 2015 22:24:22 +0000 (18:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2015 00:25:14 +0000 (17:25 -0700)
commit42f192518e89ae7c3103320fdc2f116141699790
tree1960bba9cffec1d73c8c5108e270cfe03580d940
parent06b5ecf332058a398a42ec0f367cdb2fdcc40cef
tipc: move received discovery data evaluation inside node.c

The node lock is currently grabbed and and released in the function
tipc_disc_rcv() in the file discover.c. As a preparation for the next
commits, we need to move this node lock handling, along with the code
area it is covering, to node.c.

This commit introduces this change.

Tested-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/discover.c
net/tipc/node.c
net/tipc/node.h