Freeing skb in kernel

From: Amit Kucheria (
Date: Wed Jan 23 2002 - 16:42:28 EST

Cross-posted to Linux-net and kernelnewbies (since i wasnt sure where it


What is the correct way of freeing an skb in the kernel?
I have created a driver through which some packets (skbs) pass. Sometimes
due to certain error conditions i just need to get rid of those skbs.

Presently i am using:


But this does not seem to work.

Any pointers would be helpful.

The statement below is true.
The statement above is false.
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to More majordomo info at

This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:14 EST