Thread (19 messages) flat view 19 messages, 4 authors, 2012-06-07

Re: Change in alloc_skb() behavior in 3.2+ kernels?

From: Grant Edwards <hidden>
Date: 2012-06-07 14:17:09

On Thu, Jun 07, 2012 at 04:01:50PM +0200, Eric Dumazet wrote:
On Thu, 2012-06-07 at 13:23 +0000, Grant Edwards wrote:
quoted
On 2012-06-06, David Miller [off-list ref] wrote:
quoted
quoted
It was never a formal API that we would only allocate 'size'
amount of tailroom.
How can you say that?
Documentation was stale, so what ?
So there _was_ a formal API that said you would only allocate 'size'
amount of tailroom.  That's what.
kmalloc(99) doesnt allocate 99 bytes but 128, so what?
Doing so violated the documented API.

You said there was never any API definition that said tailroom() ==
requested size, and implied that it was stupid to write code that
expected tailroom() == requested size.

I was merely pointing out that the API was indeed documented that way.
Grant, what about you fix your code ?
I did.

And the API documentation has now been fixed as well, but don't try to
tell me that the API documentation didn't promise to work the way my
code expected it to work.

-- 
Grant Edwards               grant.b.edwards        Yow! Youth of today!
                                  at               Join me in a mass rally
                              gmail.com            for traditional mental
                                                   attitudes!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help