lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 10 Jan 2020 11:13:16 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     niu_xilei@....com
Cc:     tglx@...utronix.de, fw@...len.de, peterz@...radead.org,
        pabeni@...hat.com, anshuman.khandual@....com,
        linyunsheng@...wei.com, bigeasy@...utronix.de,
        jonathan.lemon@...il.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pktgen: create packet use IPv6 source address between
 src6_min and src6_max.

From: Niu Xilei <niu_xilei@....com>
Date: Fri, 10 Jan 2020 18:28:42 +0800

> --- a/net/core/pktgen.c
> +++ b/net/core/pktgen.c
> @@ -254,6 +254,111 @@ struct flow_state {
>  /* flow flag bits */
>  #define F_INIT   (1<<0)		/* flow has been initialized */
>  
> +#ifdef CONFIG_ARCH_SUPPORTS_INT128
> +
> +__extension__ typedef  unsigned __int128 u128;
> +

This does not belong in pktgen.c but rather in a generic kernel header, and such
facilities should be posted for general review on lkml.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ