Re: [PATCH 1/3] net: introduce a list of device addresses dev_addr_list (v3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Hemminger
Date: Friday, April 17, 2009 - 8:33 am

On Fri, 17 Apr 2009 13:57:24 +0200
Jiri Pirko <jpirko@redhat.com> wrote:


Minor nit, the ordering of elements cause holes that might not be
needed.

Space saving? is rcu_head needed or would using synchronize_net
make code cleaner and save space. 

Since you are initializing all fields, kzalloc isn't really needed

Since this is local you should be able to audit all
the callers and remove this ASSERT.

Ditto, ASSERT_RTNL makes sense for exposed kernel API and
initial testing.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Fri Mar 13, 10:39 pm)
Re: [PATCH] bonding: allow bond in mode balance-alb to wor ..., Stephen Hemminger, (Sun Mar 15, 4:12 pm)
[PATCH 1/4] net: introduce dev_mac_address_changed, Jiri Pirko, (Mon Apr 13, 1:38 am)
Re: [PATCH 2/4] net: introduce a list of device addresses ..., Stephen Hemminger, (Mon Apr 13, 7:49 am)
Re: [PATCH 3/4] net: bridge: use device address list inste ..., Stephen Hemminger, (Mon Apr 13, 7:54 am)
Re: [PATCH 4/4] net: bonding: add slave device addresses i ..., Stephen Hemminger, (Mon Apr 13, 7:56 am)
Re: [PATCH 1/4] net: introduce dev_mac_address_changed, Stephen Hemminger, (Mon Apr 13, 7:58 am)
Re: [PATCH 1/3] net: introduce a list of device addresses ..., Stephen Hemminger, (Fri Apr 17, 8:33 am)
Re: [Bonding-devel] [PATCH 1/3] net: introduce a list of d ..., Stephen Hemminger, (Thu Apr 23, 8:58 am)
Re: [PATCH net-next] net: bridge: use device address list ..., Stephen Hemminger, (Wed May 6, 12:26 pm)