[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <486B7A49.7090103@trash.net>
Date: Wed, 02 Jul 2008 14:53:29 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Wang Chen <wangchen@...fujitsu.com>
CC: "David S. Miller" <davem@...emloft.net>,
NETDEV <netdev@...r.kernel.org>
Subject: Re: v3 [PATCH net-next 1/7] af_packet: Check return of dev_set_promiscuity/allmulti
Wang Chen wrote:
> v2->v3:
> Do unwinding when error happens.
>
> 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 af_packet, we check all positive increment for promiscuity and allmulti
> to get error return.
>
> Signed-off-by: Wang Chen <wangchen@...fujitsu.com>
Acked-by: Patrick McHardy <kaber@...sh.net>
--
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