net/hsr: Move slave init to hsr_slave.c.
authorArvid Brodin <arvid.brodin@alten.se>
Fri, 4 Jul 2014 21:37:27 +0000 (23:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 18:35:31 +0000 (11:35 -0700)
commit51f3c605318b056ac5deb9079bbef2a976558827
tree892ae91481ed018ce84f70a9b1c49ee0972d9406
parente9aae56ea43ef4a32527b9d86c1f6b5eebfbd223
net/hsr: Move slave init to hsr_slave.c.

Also try to prevent some possible slave dereference race conditions. This is
finalized in the next patch, which abandons the slave array in favour of
a list_head list and list RCU.

Signed-off-by: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_device.c
net/hsr/hsr_framereg.c
net/hsr/hsr_main.c
net/hsr/hsr_netlink.c
net/hsr/hsr_slave.c
net/hsr/hsr_slave.h