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] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 31 Aug 2016 10:11:52 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     David Lebrun <david.lebrun@...ouvain.be>
Cc:     <netdev@...r.kernel.org>
Subject: Re: [RFC 2/9] ipv6: sr: add code base for control plane support of
 SR-IPv6

On Fri, 26 Aug 2016 17:52:40 +0200
David Lebrun <david.lebrun@...ouvain.be> wrote:

> +static struct genl_ops seg6_genl_ops[] = {
> +	{
> +		.cmd	= SEG6_CMD_SETHMAC,
> +		.doit	= seg6_genl_sethmac,
> +		.policy	= seg6_genl_policy,
> +		.flags	= GENL_ADMIN_PERM,
> +	},
> +	{
> +		.cmd	= SEG6_CMD_DUMPHMAC,
> +		.dumpit	= seg6_genl_dumphmac,
> +		.policy	= seg6_genl_policy,
> +		.flags	= GENL_ADMIN_PERM,
> +	},
> +	{
> +		.cmd	= SEG6_CMD_SET_TUNSRC,
> +		.doit	= seg6_genl_set_tunsrc,
> +		.policy	= seg6_genl_policy,
> +		.flags	= GENL_ADMIN_PERM,
> +	},
> +	{
> +		.cmd	= SEG6_CMD_GET_TUNSRC,
> +		.doit	= seg6_genl_get_tunsrc,
> +		.policy = seg6_genl_policy,
> +		.flags	= GENL_ADMIN_PERM,
> +	},
> +};
> +

Should also be const

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ