Linux-kernel mailing list archive 1999-36,: Re: passing skb ownership (was: ip_queue_xmit(): dangling skb pointer...)

# 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)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jeff Merkey: "Re: NetWare NDS and Linux?"
- Previous message: Beau Gales: "UPDATE DIGEST TO CRYSTAL, ELEGANT GLASS & ADMIRAL'S VISITORS!"
- In reply to: Henner Eisen: "passing skb ownership (was: ip_queue_xmit(): dangling skb pointer...)"

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/

- Next message: Jeff Merkey: "Re: NetWare NDS and Linux?"
- Previous message: Beau Gales: "UPDATE DIGEST TO CRYSTAL, ELEGANT GLASS & ADMIRAL'S VISITORS!"
- In reply to: Henner Eisen: "passing skb ownership (was: ip_queue_xmit(): dangling skb pointer...)"