tipc: propagate peer node capabilities to socket layer
authorJon Paul Maloy <jon.maloy@ericsson.com>
Mon, 2 May 2016 15:58:46 +0000 (11:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 19:51:15 +0000 (15:51 -0400)
commit60020e1857042387cdcd4cd6680a9e5496213379
treeb0cff474233a2bd0f37734942f23afd3213486ad
parent7c8bcfb1255fe9d929c227d67bdcd84430fd200b
tipc: propagate peer node capabilities to socket layer

During neighbor discovery, nodes advertise their capabilities as a bit
map in a dedicated 16-bit field in the discovery message header. This
bit map has so far only be stored in the node structure on the peer
nodes, but we now see the need to keep a copy even in the socket
structure.

This commit adds this functionality.

Acked-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/node.c
net/tipc/node.h
net/tipc/socket.c