Add PACKET_VNET_HDR_SZ from Linux 6.4 to netpacket/packet.h
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Testing passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Testing passed
|
Commit Message
Linux 6.4 adds a new constant PACKET_VNET_HDR_SZ; add it to glibc's
netpacket/packet.h.
Tested for x86_64.
Comments
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2023-August/150549.html> is
pending review.
On 01/08/23 13:25, Joseph Myers wrote:
> Linux 6.4 adds a new constant PACKET_VNET_HDR_SZ; add it to glibc's
> netpacket/packet.h.
>
> Tested for x86_64.
LGTM, it matches dfc39d4026fb2432363c0f77543c4cf3adca4c7b added on 6.4.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
>
> diff --git a/sysdeps/unix/sysv/linux/netpacket/packet.h b/sysdeps/unix/sysv/linux/netpacket/packet.h
> index 279f68fd34..c0fb06df53 100644
> --- a/sysdeps/unix/sysv/linux/netpacket/packet.h
> +++ b/sysdeps/unix/sysv/linux/netpacket/packet.h
> @@ -64,6 +64,7 @@ struct sockaddr_ll
> #define PACKET_ROLLOVER_STATS 21
> #define PACKET_FANOUT_DATA 22
> #define PACKET_IGNORE_OUTGOING 23
> +#define PACKET_VNET_HDR_SZ 24
>
> struct packet_mreq
> {
>
@@ -64,6 +64,7 @@ struct sockaddr_ll
#define PACKET_ROLLOVER_STATS 21
#define PACKET_FANOUT_DATA 22
#define PACKET_IGNORE_OUTGOING 23
+#define PACKET_VNET_HDR_SZ 24
struct packet_mreq
{