Re: Fragment flooding in 2.4.x/2.5.x

Trond Myklebust (trond.myklebust@fys.uio.no)
Thu, 27 Jun 2002 19:00:22 +0200


On Thursday 27 June 2002 18:34, kuznet@ms2.inr.ac.ru wrote:

> Did you not solve this problem using right write_space?

Sure, I can add specific checks for (atomic_read(&sk->wmem_alloc) <
sk->sndbuf) in the RPC layer, however, I don't see why such a check couldn't
be put into ip_build_xmit() itself. Sending partial messages isn't a feature
that sounds like it would be particularly useful for any other applications
either.

However what if the actual call to alloc_skb() fails?

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