Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137738007
D27879.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
354 B
Referenced Files
None
Subscribers
None
D27879.diff
View Options
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -339,7 +339,7 @@
*
*/
typedef struct _ipfw_insn { /* template for instructions */
- u_int8_t opcode;
+ _Alignas(_Alignof(u_int32_t)) u_int8_t opcode;
u_int8_t len; /* number of 32-bit words */
#define F_NOT 0x80
#define F_OR 0x40
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 8:15 AM (11 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26207618
Default Alt Text
D27879.diff (354 B)
Attached To
Mode
D27879: Require uint32_t alignment for ipfw_insn
Attached
Detach File
Event Timeline
Log In to Comment