Re: Headerless packets hitting ethernet?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 26 Sep 1999 16:33:05 +0100 (BST)


> I'm not going to make myself popular here, but the network code is
> *not* easy to read.

I'd agree

> find some code that uses ip_rt_put. Cool, so the networking jargon
> for release is xxx_put().
>
> So skb_put releases skbs then? Not fucking likely. kfree_skb does
> that: of course, it doesn't actually kfree the skb unless the refcnt

If we suddenely swapped them for skb_alloc and skb_put every driver writer
would go ballistic

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/