Thread (11 messages) flat view 11 messages, 3 authors, 2011-05-04

Re: [net-next-2.6 PATCH] ethtool: Support to take FW dump

From: Anirban Chakraborty <hidden>
Date: 2011-05-04 05:24:47

On May 3, 2011, at 6:06 PM, Ben Hutchings wrote:
<snip>

I understand that the userland application will need to get the size
that way.  I'm saying that this code in the kernel should also get the
size from the driver, so that a malicious application cannot make the
kernel allocate an excessively large buffer.
Makes sense. Will do so.
Also, you'll need to submit your implementation along with this, as
David won't accept an extension to the API without a driver that
implements it.
I have implemented it in qlcnic driver. Will submit it along with the v2 patches.
Thanks.

-Anirban
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help