Thread (3 messages) flat view 3 messages, 2 authors, 2021-11-18

Re: [PATCH] intersil: Use struct_group() for memcpy() region

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2021-11-18 19:46:26
Also in: linux-hardening, linux-wireless, lkml

On Thu, 2021-11-18 at 10:41 -0800, Kees Cook wrote:
 	/* 802.11 */
-	__le16 frame_control; /* parts not used */
-	__le16 duration_id;
-	u8 addr1[ETH_ALEN];
-	u8 addr2[ETH_ALEN]; /* filled by firmware */
-	u8 addr3[ETH_ALEN];
-	__le16 seq_ctrl; /* filled by firmware */
+	struct_group(frame,
Arguably, that should be 'header' rather than 'frame' :)

johannes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help