Re: Deadlock with icmpv6fuzz
From: David Miller <davem@davemloft.net>
Date: 2009-02-06 11:07:20
From: David Miller <davem@davemloft.net>
Date: 2009-02-06 11:07:20
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Fri, 6 Feb 2009 21:34:43 +1100
On Fri, Feb 06, 2009 at 09:27:10PM +1100, Herbert Xu wrote:quoted
But we should probably bring the check down to sysctl_optmem_max in ip6_flowlabel.c too since allocating 64K is still quite likely to fail and warn.In fact, we should probably just use sock_kmalloc in these places.
Very likely we could get away with that. But some apps might start breaking since this would now charge the socket and we could hit the limits whereas before we wouldn't.