diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2010-10-21 01:06:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 04:11:08 -0700 |
commit | db5a753bf198ef7a50e17d2ff358adf37efe8648 (patch) | |
tree | 50c1a4a117f567679bf4e6b6f9e472d0322567a2 /net/tipc/subscr.h | |
parent | 8c974438085d2c81b006daeaab8801eedbd19758 (diff) | |
download | op-kernel-dev-db5a753bf198ef7a50e17d2ff358adf37efe8648.zip op-kernel-dev-db5a753bf198ef7a50e17d2ff358adf37efe8648.tar.gz |
Revert d88dca79d3852a3623f606f781e013d61486828a
TIPC needs to have its endianess issues fixed. Unfortunately, the format of a
subscriber message is passed in directly from user space, so requiring this
message to be in network byte order breaks user space ABI. Revert this change
until such time as we can determine how to do this in a backwards compatible
manner.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/subscr.h')
-rw-r--r-- | net/tipc/subscr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/subscr.h b/net/tipc/subscr.h index c20f496..45d89bf 100644 --- a/net/tipc/subscr.h +++ b/net/tipc/subscr.h @@ -53,6 +53,7 @@ typedef void (*tipc_subscr_event) (struct subscription *sub, * @nameseq_list: adjacent subscriptions in name sequence's subscription list * @subscription_list: adjacent subscriptions in subscriber's subscription list * @server_ref: object reference of server port associated with subscription + * @swap: indicates if subscriber uses opposite endianness in its messages * @evt: template for events generated by subscription */ @@ -65,6 +66,7 @@ struct subscription { struct list_head nameseq_list; struct list_head subscription_list; u32 server_ref; + int swap; struct tipc_event evt; }; |