Re: [net-next-2.6 PATCH] wireless: convert to use netdev_for_each_mc_addr

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Pirko
Date: Wednesday, March 3, 2010 - 10:52 am

Wed, Mar 03, 2010 at 05:42:56PM CET, jussi.kivilinna@mbnet.fi wrote:

Actually it cannot. That's covered by:

if (mc_count > priv->multicast_size) {

This was also in the original code. In that case "size" can be eliminated and
"mc_addrs" can be allocated with "mc_count * ETH_ALEN".

Jussi are you ok with this?

Jirka
--
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: [net-next-2.6 PATCH] wireless: convert to use netdev_f ..., Jiri Pirko, (Wed Mar 3, 10:52 am)