[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4665D0F7.5020905@trash.net>
Date: Tue, 05 Jun 2007 23:09:11 +0200
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, socketcan@...tkopp.net, hadi@...erus.ca,
xemul@...ru, ebiederm@...ssion.com, tgraf@...g.ch
Subject: Re: [RFC RTNETLINK 04/09]: Link creation API
David Miller wrote:
> From: Patrick McHardy <kaber@...sh.net>
> Date: Tue, 5 Jun 2007 16:12:57 +0200 (MEST)
>
>>[RTNETLINK]: Link creation API
>>
>>Add rtnetlink API for creating, changing and deleting software devices.
>>
>>Signed-off-by: Patrick McHardy <kaber@...sh.net>
>
>
> Looks mostly fine, perhaps you can make even more use of 'const'
> for instances of "struct rtnl_link_ops *" at least as function
> arguments deeper in the implementation.
Good suggestion. I initially had rtnl_link_ops const everywhere
(since the lookup was by family I stored it in an array and didn't
need the list_head), then changed it to a list and removed all
consts. I'll add them back where possible.
-
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