]> git.karo-electronics.de Git - linux-beck.git/commit
tipc: Fix bug in scope checking for multicast messages
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 15 Jul 2008 05:44:32 +0000 (22:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 05:44:32 +0000 (22:44 -0700)
commit08d2cf0f74b3ee5e773bb906043a0efe96ded229
treec89d7c7a596e0e836109ba0758712642df7649a3
parent0e35fd5e5264bb46d1febbe9cd9aa08421c21a96
tipc: Fix bug in scope checking for multicast messages

This patch ensures that TIPC's multicast message name lookup
algorithm does individualized scope checking for each published
name it examines.  Previously, scope checking was only done for
the first name in a name table publication list, which could
result in incoming multicast messages being delivered to ports
publishing names with "node" scope, or not being delivered to
ports publishing names with "cluster" or "zone" scope.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c