aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorJon Maloy <[email protected]>2017-10-13 09:04:32 +0000
committerDavid S. Miller <[email protected]>2017-10-13 15:46:01 +0000
commit399574d41963285e72ba28dd46783c96316a81d1 (patch)
tree43385ba22e204883b790a6a8344fcba4b203b2b1 /drivers/net/dsa/dsa_loop.c
parenttipc: guarantee that group broadcast doesn't bypass group unicast (diff)
downloadkernel-399574d41963285e72ba28dd46783c96316a81d1.tar.gz
kernel-399574d41963285e72ba28dd46783c96316a81d1.zip
tipc: guarantee delivery of UP event before first broadcast
The following scenario is possible: - A user joins a group, and immediately sends out a broadcast message to its members. - The broadcast message, following a different data path than the initial JOIN message sent out during the joining procedure, arrives to a receiver before the latter.. - The receiver drops the message, since it is not ready to accept any messages until the JOIN has arrived. We avoid this by treating group protocol JOIN messages like unicast messages. - We let them pass through the recipient's multicast input queue, just like ordinary unicasts. - We force the first following broadacst to be sent as replicated unicast and being acknowledged by the recipient before accepting any more broadcast transmissions. Signed-off-by: Jon Maloy <[email protected]> Acked-by: Ying Xue <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions