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:	Thu, 03 Apr 2014 21:47:58 +0200
From:	Daniel Borkmann <dborkman@...hat.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	Vlad Yasevich <vyasevich@...il.com>, Jiri Pirko <jiri@...nulli.us>,
	Nicolas Dichtel <nicolas.dichtel@...nd.com>,
	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch

On 04/03/2014 09:01 PM, Andrew Morton wrote:
> Guys, I've been sitting on this since January and simply cannot
> remember what happened with it.  Is this still a thing or did it get
> nacked, or...?

http://thread.gmane.org/gmane.linux.kernel/1638261/focus=1642371

I think someone should add a comment to this code line stating that
this is intentional ... :)

> Thanks.
>
> From: Yogesh Gaur <yogeshgaur.83@...il.com>
> Subject: net/core/rtnetlink.c: copy paste error in rtnl_bridge_notify()
>
> Seems to be copy paste error in calling ndo_bridge_getlink() func.
>
> Signed-off-by: Yogesh Gaur <yogeshgaur.83@...il.com>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Vlad Yasevich <vyasevich@...il.com>
> Cc: Jiri Pirko <jiri@...nulli.us>
> Cc: Nicolas Dichtel <nicolas.dichtel@...nd.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
>   net/core/rtnetlink.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN net/core/rtnetlink.c~net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify net/core/rtnetlink.c
> --- a/net/core/rtnetlink.c~net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify
> +++ a/net/core/rtnetlink.c
> @@ -2576,7 +2576,7 @@ static int rtnl_bridge_notify(struct net
>
>   	if ((!flags || (flags & BRIDGE_FLAGS_MASTER)) &&
>   	    br_dev && br_dev->netdev_ops->ndo_bridge_getlink) {
> -		err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, dev, 0);
> +		err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, br_dev, 0);
>   		if (err < 0)
>   			goto errout;
>   	}
> _
>
> --
> 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
>
--
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