Re: passing skb ownership (was: ip_queue_xmit(): dangling skb pointer...)

kuznet@ms2.inr.ac.ru
Wed, 8 Sep 1999 20:22:41 +0400 (MSK DST)


Hello!

> Is this right?

It is right, but not quite right. TCP is pretty insensitive
to allocated memory in xmit direction. If driver queues
more than one or two packets, it breaks TCP not depending
on memory commitments.

UDP is really sensitive.

> with ppp and isdn_ppp links. (Maybe it even allows for a denial-of-service
> exploit by sending large amounts of data through a udp socket to a
> destination which is routed through a compressed ppp link.

Do you want to say, queue size in not limited at all? 8)
Nice. It has nothing to do with socket memory accounting.

Alexey Kuznetsov

-
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/