Re: [PATCH] tipc: fix issue that tipc_dest neglects of big-endian

From: David Miller
Date: Mon Aug 20 2018 - 22:20:36 EST


From: Haiqing Bai <Haiqing.Bai@xxxxxxxxxxxxx>
Date: Mon, 20 Aug 2018 18:26:01 +0800

> The tipc multicast demo in tipcutils fails to work on big-endian hardware.
> The tipc multicast server can not receive the packets sent by the multicast
> client for that the dest port is always zero after tipc_dest_pop, then it
> is found that the struct tipc_dest fails to take big/little endian into
> account.
>
> Signed-off-by: Haiqing Bai <Haiqing.Bai@xxxxxxxxxxxxx>
> Signed-off-by: Zhenbo Gao <zhenbo.gao@xxxxxxxxxxxxx>

Jon and Ying, please review.

thank you.