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)
commit53b94364a7c96d3b2276cb2bbbecfb269bc9f0fc
tree8a467e2af2d4d3856e8cb966afa0bbf14df5817c
parent77561557447d3be586e701815e261c93c11ded00
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