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

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu Jun 27 2002 - 12:00:22 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:12 EST