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: <20150306065542.GB2004@nanopsycho.orion>
Date:	Fri, 6 Mar 2015 07:55:42 +0100
From:	Jiri Pirko <jiri@...nulli.us>
To:	roopa@...ulusnetworks.com
Cc:	sfeldma@...il.com, davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/3] bond: add support for
 ndo_switch_port_stp_update when bond is a bridge port

Fri, Mar 06, 2015 at 05:04:17AM CET, roopa@...ulusnetworks.com wrote:
>From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
>This patch adds support for stp state offload netdev op to support the case
>where bond is a bridge port and bond slaves are switch ports.
>
>Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>

Maybe the indent should be fixed for the rest to align with
.ndo_switch_port_stp_update. Not sure if that is needed thought. The
same note goes for team.

Acked-by: Jiri Pirko <jiri@...nulli.us>

>---
> drivers/net/bonding/bond_main.c |    1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
>index 675b082..bf60535 100644
>--- a/drivers/net/bonding/bond_main.c
>+++ b/drivers/net/bonding/bond_main.c
>@@ -4005,6 +4005,7 @@ static const struct net_device_ops bond_netdev_ops = {
> 	.ndo_fix_features	= bond_fix_features,
> 	.ndo_bridge_setlink	= ndo_dflt_netdev_switch_port_bridge_setlink,
> 	.ndo_bridge_dellink	= ndo_dflt_netdev_switch_port_bridge_dellink,
>+	.ndo_switch_port_stp_update = ndo_dflt_netdev_switch_port_stp_update,
> };
> 
> static const struct device_type bond_type = {
>-- 
>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