Skip to contentSkip to conversation

+ net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jan 31, 2014 Networking

lore
Share & tools
lore
#0 lore raw

Subject: + net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 31 Jan 2014 12:26:08 -0800

The patch titled
Subject: net/core/rtnetlink.c: copy paste error in rtnl_bridge_notify()
has been added to the -mm tree. Its filename is
net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Yogesh Gaur <[email protected]>
Subject: net/core/rtnetlink.c: copy paste error in rtnl_bridge_notify()

Seems to be copy paste error in calling ndo_bridge_getlink() func.

Cc "David S. Miller" <[email protected]>
Cc Vlad Yasevich <[email protected]>
Cc Jiri Pirko <[email protected]>
Cc Nicolas Dichtel <[email protected]>

---

 net/core/rtnetlink.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/rtnetlink.c renamed from net/core/rtnetlink.c~net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify +1 -1
diff -puN net/core/rtnetlink.c~net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify net/core/rtnetlink.c
@@ -2571,7 +2571,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;
 	}

_

Patches currently in -mm which might be from [email protected] are

net-core-rtnetlinkc-copy-paste-error-in-rtnl_bridge_notify.patch