TIPC: Updated topology subscription protocol according to latest spec
authorJon Paul Maloy <jon.maloy@ericsson.com>
Tue, 6 Apr 2010 11:40:52 +0000 (11:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2010 02:50:19 +0000 (19:50 -0700)
commitc6537d6742985da1fbf12ae26cde6a096fd35b5c
treec6a9bcb6d500f81efc1ead5d32f8d369b1e8ccb4
parent459569145516f7967b916c57445feb02c600668c
TIPC: Updated topology subscription protocol according to latest spec

This patch makes it explicit in the API that all fields in subscriptions and events exchanged with the Topology Server must be in
network byte order.
It also ensures that all fields of a subscription are compared when cancelling a subscription, in order to avoid inadvertent
cancelling of the wrong subscription.
Finally, the tipc module version is updated to 2.0.0, to reflect the API change.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tipc.h
net/tipc/core.c
net/tipc/subscr.c