[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080619.190911.117307969.davem@davemloft.net>
Date: Thu, 19 Jun 2008 19:09:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: [PATCH net-next 5/8] ipv6: Check return of dev_set_allmulti
From: Wang Chen <wangchen@...fujitsu.com>
Date: Fri, 20 Jun 2008 08:55:23 +0800
> @@ -632,7 +633,10 @@ static int mif6_add(struct mif6ctl *vifc, int mrtsock)
> return -EINVAL;
> }
>
> - dev_set_allmulti(dev, 1);
> + /* Check whether allmulti overflow */
> + err = dev_set_allmulti(dev, 1);
> + if (err)
> + return err;
Please delete comment.
--
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