Hello!

> > It is the only protection of commiting infinite amount of memory to a 
> > socket.
> 
> Doesn't the "if (atomic_read(&sk->sk_wmem_alloc) < sk->sk_sndbuf)" check in 
> sock_alloc_send_pskb()
> limit things already?

Unfortunately, it does not. You can open a socket, send
something to a selected victim, close it, and repeat this
until receiver accumulates enough of skbs to kill the system.

Alexey
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to