]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fe2d57bb091ecce3a3c0340f184b3eb24c83471
tree49f6bd69b9263f5b0bcbe759755f9e167fa5cc6f
parentb5ab96233908c2c10807c29ccf89a9ef6691b207
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