]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdac3ed4d8b3e8f6eedaf730d57998959d2da5544
treeb0cff474233a2bd0f37734942f23afd3213486ad
parent77f39f3fca2e4d3ff1117df753d3dddf9b2455f9
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