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]
Message-ID: <CAE4R7bDDSN+hd_rcd0FySBHzpb7XDaKQ8F=_eSN0NXt7GykQCQ@mail.gmail.com>
Date:	Mon, 8 Dec 2014 14:43:55 -0800
From:	Scott Feldman <sfeldma@...il.com>
To:	Roopa Prabhu <roopa@...ulusnetworks.com>
Cc:	Jiří Pírko <jiri@...nulli.us>,
	Jamal Hadi Salim <jhs@...atatu.com>,
	Benjamin LaHaise <bcrl@...ck.org>, Thomas Graf <tgraf@...g.ch>,
	john fastabend <john.fastabend@...il.com>,
	"stephen@...workplumber.org" <stephen@...workplumber.org>,
	John Linville <linville@...driver.com>,
	"vyasevic@...hat.com" <vyasevic@...hat.com>,
	Netdev <netdev@...r.kernel.org>,
	"David S. Miller" <davem@...emloft.net>,
	"shm@...ulusnetworks.com" <shm@...ulusnetworks.com>,
	Andy Gospodarek <gospo@...ulusnetworks.com>
Subject: Re: [PATCH net-next v5 1/3] bridge: new mode flag to indicate mode 'undefined'

Signed-off-by: Scott Feldman <sfeldma@...il.com>

On Mon, Dec 8, 2014 at 2:04 PM,  <roopa@...ulusnetworks.com> wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> This patch adds mode BRIDGE_MODE_UNDEF for cases where mode is not needed.
>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> ---
>  include/uapi/linux/if_bridge.h |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
> index 296a556..05f0869 100644
> --- a/include/uapi/linux/if_bridge.h
> +++ b/include/uapi/linux/if_bridge.h
> @@ -106,6 +106,7 @@ struct __fdb_entry {
>  #define BRIDGE_MODE_VEB                0       /* Default loopback mode */
>  #define BRIDGE_MODE_VEPA       1       /* 802.1Qbg defined VEPA mode */
>  #define BRIDGE_MODE_SWDEV      2       /* Full switch device offload */
> +#define BRIDGE_MODE_UNDEF      0xFFFF  /* mode undefined */
>
>  /* Bridge management nested attributes
>   * [IFLA_AF_SPEC] = {
> --
> 1.7.10.4
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ