[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100919.113347.39185228.davem@davemloft.net>
Date: Sun, 19 Sep 2010 11:33:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gregory.v.rose@...el.com
Cc: error27@...il.com, jeffrey.t.kirsher@...el.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] ixgbevf: potential NULL dereference on allocation
failure
From: "Rose, Gregory V" <gregory.v.rose@...el.com>
Date: Tue, 14 Sep 2010 09:57:46 -0700
> I've taken up your suggestions and implemented them (roughly) as
> suggested below. After looking at the code I had to agree that it
> would be very confusing for a user to set new ring parameters, have
> the call partially succeed but get no error and then look at the
> parameters again and not see what he expected. Now the code will do
> as suggested and just unwind all prior allocations and return an
> error if the new ring sizing didn't work. The user will be left
> with the prior ring size allocations which is probably what he would
> expect.
>
> The patch is going to be posted internally and after it goes through
> our review process it will be posted to netdev.
Thanks for doing this work Greg.
--
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