]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0760a5290a69397335a5d7b819a63f7255182175
treec6a9bcb6d500f81efc1ead5d32f8d369b1e8ccb4
parent5e594ee3182e7c6fc6326aefce8b05f2cf08372f
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