[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080714.205144.39453296.davem@davemloft.net>
Date: Mon, 14 Jul 2008 20:51:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: v4 [PATCH 2/9] bonding: Check return of
dev_set_promiscuity/allmulti
From: Wang Chen <wangchen@...fujitsu.com>
Date: Tue, 15 Jul 2008 10:59:16 +0800
> dev_set_promiscuity/allmulti might overflow.
> Commit: "netdevice: Fix promiscuity and allmulti overflow" in net-next makes
> dev_set_promiscuity/allmulti return error number if overflow happened.
>
> In bond_alb and bond_main, we check all positive increment for promiscuity
> and allmulti to get error return.
> But there are still two problems left.
> 1. Some code path has no mechanism to signal errors upstream.
> 2. If there are multi slaves, it's hard to tell which slaves increment
> promisc/allmulti successfully and which failed.
> So I left these problems to be FIXME.
> Fortunately, the overflow is very rare case.
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
Applied.
--
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