Network Stack SKB Reallocation

Michael Buesch mb at bu3sch.de
Tue Oct 27 06:13:50 EST 2009


On Monday 26 October 2009 19:43:00 Jonathan Haws wrote:
> Quick question about the network stack in general:
> 
> Does the stack itself release an SKB allocated by the device driver back to the heap upstream, or does it require that the device driver handle that?

There's the concept of passing responsibilities for the frames between
the networking layers. So the driver passes the frame and all responsibilities
to the networking stack. So if the networking stack accepts the packet in the first place,
it needs to free it (or pass it to somebody else to take care of).

-- 
Greetings, Michael.


More information about the Linuxppc-dev mailing list