[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120626151311.GB31808@canuck.infradead.org>
Date: Tue, 26 Jun 2012 11:13:11 -0400
From: Thomas Graf <tgraf@...g.ch>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] bridge: Assign rtnl_link_ops to bridge devices created
via ioctl()
On Tue, Jun 26, 2012 at 07:59:40AM -0700, Stephen Hemminger wrote:
> On Tue, 26 Jun 2012 10:56:15 +0200
> Thomas Graf <tgraf@...g.ch> wrote:
>
> > +void br_assign_rtnl_link_ops(struct net_device *dev)
> > +{
> > + dev->rtnl_link_ops = &br_link_ops;
> > +}
>
> I am fine with the concept, but maybe it would just be simpler to
> make br_link_ops public?
Either is fine with me. I chose the assignment function to keep the
struct read-only outside of br_netlink.c.
--
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