]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[tcp] Add missing packed attribute on struct tcp_header
authorMichael Brown <mcb30@ipxe.org>
Thu, 19 Apr 2018 16:32:07 +0000 (17:32 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 19 Apr 2018 18:05:37 +0000 (19:05 +0100)
Debugged-by: Mark Rutland <mark.rutland@arm.com>
Debugged-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/tcp.h

index 21be3ca8adbb8f60edf8a58879a185eb00f37b01..f5508fe2bad12a5124fae61d9178565c5d597073 100644 (file)
@@ -26,7 +26,7 @@ struct tcp_header {
        uint16_t win;           /* Advertised window */
        uint16_t csum;          /* Checksum */
        uint16_t urg;           /* Urgent pointer */
-};
+} __attribute__ (( packed ));
 
 /** @defgroup tcpopts TCP options
  * @{