Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfriesen committed Dec 13, 2024
1 parent 0fd7207 commit 7e900e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/xdp/extensionset.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ XdpExtensionSetCreate(
Entry->Info = Reg->Info;
Entry->Size = Reg->Size;
Entry->Alignment = Reg->Alignment;
Entry->InternalExtension = Reg->InternalExtension;
}

*ExtensionSet = Set;
Expand Down
2 changes: 1 addition & 1 deletion src/xdp/extensionset.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ typedef struct _XDP_EXTENSION_REGISTRATION {
XDP_EXTENSION_INFO Info;
UINT8 Size;
UINT8 Alignment;
BOOLEAN InternalEntry;
BOOLEAN InternalExtension;
} XDP_EXTENSION_REGISTRATION;

NTSTATUS
Expand Down
4 changes: 2 additions & 2 deletions src/xdp/xsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ static const XDP_EXTENSION_REGISTRATION XskTxFrameExtensions[] = {
.Info.ExtensionType = XDP_EXTENSION_TYPE_FRAME,
.Size = sizeof(XDP_FRAME_LAYOUT),
.Alignment = __alignof(XDP_FRAME_LAYOUT),
.InternalEntry = TRUE,
.InternalExtension = TRUE,
},
{
.Info.ExtensionName = XDP_FRAME_EXTENSION_CHECKSUM_NAME,
.Info.ExtensionVersion = XDP_FRAME_EXTENSION_CHECKSUM_VERSION_1,
.Info.ExtensionType = XDP_EXTENSION_TYPE_FRAME,
.Size = sizeof(XDP_FRAME_CHECKSUM),
.Alignment = __alignof(XDP_FRAME_CHECKSUM),
.InternalEntry = TRUE,
.InternalExtension = TRUE,
},
};

Expand Down

0 comments on commit 7e900e2

Please sign in to comment.