Posted Feb 21, 2009 14:26 UTC (Sat) by corbet
In reply to: Getting the measure of ksize()
Parent article: Getting the measure of ksize()
I think krealloc() does use ksize(). That's part of why it exists.
I don't know for sure, but my guess is that the networking folks don't like that approach because it requires copying the packet in the case where the needed room doesn't exist. Networking hackers hate copying packets. They would rather just allocated the extra space elsewhere if need be.
to post comments)