The following commit has been merged in the master branch: commit 4584d1b17c666dc191d9337bb15fd28fe9d3298b Author: Al Viro viro@ZenIV.linux.org.uk Date: Sun Apr 22 07:45:29 2012 +0100
batctl: don't bother flipping ->tt_crc
Keep it net-endian
Signed-off-by: Al Viro viro@zeniv.linux.org.uk
diff --git a/packet.h b/packet.h index 41044a5..eb4fdf6 100644 --- a/packet.h +++ b/packet.h @@ -132,7 +132,7 @@ struct batman_ogm_packet { uint8_t tq; uint8_t tt_num_changes; uint8_t ttvn; /* translation table version number */ - uint16_t tt_crc; + __be16 tt_crc; } __packed;
#define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet)