]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Set name lookup scope field properly in all data messages
authorAllan Stephens <allan.stephens@windriver.com>
Sun, 17 Apr 2011 20:02:11 +0000 (16:02 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 10 May 2011 20:03:50 +0000 (16:03 -0400)
commit28ac0095f7d85feddc3f45b726da652616a8de39
tree8a467e2af2d4d3856e8cb966afa0bbf14df5817c
parent7235c54ba89c43b4ced26ec0ac1461cb9325bc8f
tipc: Set name lookup scope field properly in all data messages

Ensures that all outgoing data messages have the "name lookup scope"
field of their header set correctly; that is, named multicast messages
now specify cluster-wide name lookup, while messages not using TIPC
naming zero out the lookup field.  (Previously, the lookup scope specified
for these types of messages was inherited from the last message sent
by the sending port.)

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/port.c