]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: eliminate two pseudo message types of BUNDLE_OPEN and BUNDLE_CLOSED
authorYing Xue <ying.xue@windriver.com>
Wed, 26 Nov 2014 03:41:49 +0000 (11:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 17:30:17 +0000 (12:30 -0500)
commit9092287c4d497d3e5ff89b280dc49f07c6672bcc
tree4a6381e83b0c30aba89b39d8b7a522d0ffa6028b
parent240ae5ee8b1470a51b2aba417a94168ed46d28b2
tipc: eliminate two pseudo message types of BUNDLE_OPEN and BUNDLE_CLOSED

The pseudo message types of BUNDLE_CLOSED as well as BUNDLE_OPEN are
used to flag whether or not more messages can be bundled into a data
packet in the outgoing transmission queue. Obviously, no more messages
can be appended after the packet has been sent and is waiting to be
acknowledged and deleted. These message types do in reality represent
a send-side local implementation flag, and are not defined as part of
the protocol. It is therefore safe to move it to to where it belongs,
that is, the control area (TIPC_SKB_CB) of the buffer.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/core.h
net/tipc/link.c
net/tipc/msg.c
net/tipc/msg.h