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]
Message-ID: <44317731.eALDOE0hdk@philogene>
Date:   Sat, 30 Sep 2017 14:49:09 +0300
From:   Rémi Denis-Courmont <remi@...lab.net>
To:     Lin Zhang <xiaolou4617@...il.com>
Cc:     davem@...emloft.net, netdev@...r.kernel.org, courmisch@...il.com
Subject: Re: [PATCH v2 1/2] net: phonet: mark header_ops as const

On samedi 30 septembre 2017 17:39:36 EEST Lin Zhang wrote:
> Signed-off-by: Lin Zhang <xiaolou4617@...il.com>
> ---
>  net/phonet/af_phonet.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/phonet/af_phonet.c b/net/phonet/af_phonet.c
> index f925753..b12142e 100644
> --- a/net/phonet/af_phonet.c
> +++ b/net/phonet/af_phonet.c
> @@ -149,7 +149,7 @@ static int pn_header_parse(const struct sk_buff *skb,
> unsigned char *haddr) return 1;
>  }
> 
> -struct header_ops phonet_header_ops = {
> +const struct header_ops phonet_header_ops = {
>  	.create = pn_header_create,
>  	.parse = pn_header_parse,
>  };

Acked-by: Rémi Denis-Courmont <remi@...lab.net>


-- 
Rémi Denis-Courmont

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ