[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100227.024442.40098463.davem@davemloft.net>
Date: Sat, 27 Feb 2010 02:44:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jpirko@...hat.com
Cc: jgunthorpe@...idianresearch.com, ogerlitz@...taire.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [net-next-2.6 PATCH] infiniband: convert to use
netdev_for_each_mc_addr
From: Jiri Pirko <jpirko@...hat.com>
Date: Sat, 27 Feb 2010 11:38:37 +0100
> I see two solutions:
> 1) check the length in all drivers to ensure correctness.
> 2) when bonding changes it's type, flush mc addresses and start over.
>
> Second option looks nicer to me, but I might be missing something, thouths?
If bonding is causing this problem, perhaps we should make bonding
go through a programmatic interface to do it's work so that the
check can be done generically and in a place that will get
caught during code changes and audits.
--
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