Thread (5 messages) flat view 5 messages, 2 authors, 2012-02-10

Re: [RFC PATCH] rtnetlink: Fix problem with buffer allocation

From: David Miller <davem@davemloft.net>
Date: 2012-02-10 19:24:57

From: "Rose, Gregory V" <redacted>
Date: Fri, 10 Feb 2012 19:07:15 +0000
OK, sounds good.  How about I also add a field to indicate the
application buffer size?
How can this help, we already have it.  It's the length field to
the recvmsg() call.

Also, either the user provided a large enough buffer or he didn't.  If
he didn't we return an error to the recvmsg() call, and the user can
increase the buffer size and try again.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help