Messages in this thread | | | Date | Mon, 1 Mar 1999 19:48:01 +0100 (CET) | From | Andrea Arcangeli <> | Subject | Re: [patch] af_unix fix for a panic a DoS and a memory leak [Re: [Real fix] Re: Kernel panic: can't push onto full stack] |
| |
On Mon, 1 Mar 1999, Alexander Viro wrote:
>Yes, you can do it. I don't think that ENOMEM is the right return value >here - ECONNREFUSED is more reasonable, IMHO. But yes, we need to limit
[..] err = -ECONNREFUSED; ^^^^^^^^^^^^^^^^^^^^ if (other == NULL || other->dead || other->state != TCP_LISTEN) goto out;
/* Fail if the listen backlog is just full. -arca */ if (other->ack_backlog >= other->max_ack_backlog) goto out; ^^^^^^^^ [..]
I am just using -ECONNREFUSED ;).
Andrea Arcangeli
- 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/
| |