diff options
author | Yogesh Gaur <yogeshgaur.83@gmail.com> | 2014-02-14 10:51:42 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-02-14 10:51:42 +1100 |
commit | 4a595b3376cae1e52f9f2815b29753bd6dc207f7 (patch) | |
tree | 97cc8808f2cfa0bc3992f0aba950ad60f6f65b96 /net | |
parent | 0c6d96cb5e15f430d347dbdea208c844240527bd (diff) |
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@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Vlad Yasevich <vyasevich@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 048dc8d183aa..7b92ccadea41 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -2571,7 +2571,7 @@ static int rtnl_bridge_notify(struct net_device *dev, u16 flags) 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; } |