The following commit has been merged in the next branch: commit 8954b88b4cd35aa0101ace63aaf12a6e26fc8a96 Author: Al Viro viro@ZenIV.linux.org.uk Date: Sun Apr 22 07:46:29 2012 +0100
batman-adv: keep batman_ogm_packet ->seqno net-endian all along
Signed-off-by: Al Viro viro@zeniv.linux.org.uk
diff --git a/packet.h b/packet.h index 1df6210..f39556b 100644 --- a/packet.h +++ b/packet.h @@ -125,7 +125,7 @@ struct batman_header { struct batman_ogm_packet { struct batman_header header; uint8_t flags; /* 0x40: DIRECTLINK flag, 0x20 VIS_SERVER flag... */ - uint32_t seqno; + __be32 seqno; uint8_t orig[ETH_ALEN]; uint8_t prev_sender[ETH_ALEN]; uint8_t gw_flags; /* flags related to gateway class */