tipc: add replicast peer discovery
authorRichard Alpe <richard.alpe@ericsson.com>
Fri, 26 Aug 2016 08:52:54 +0000 (10:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Aug 2016 04:38:41 +0000 (21:38 -0700)
commitc9b64d492b1fbc732e3a26b284060c949b737bce
tree49f6bd69b9263f5b0bcbe759755f9e167fa5cc6f
parentef20cd4dd1633987bcf46ac34ace2c8af212361f
tipc: add replicast peer discovery

Automatically learn UDP remote IP addresses of communicating peers by
looking at the source IP address of incoming TIPC link configuration
messages (neighbor discovery).

This makes configuration slightly easier and removes the problematic
scenario where a node receives directly addressed neighbor discovery
messages sent using replicast which the node cannot "reply" to using
mutlicast, leaving the link FSM in a limbo state.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c