Displaying 1 result from an estimated 1 matches for "unix_get_socket".
1997 Dec 03
2
Insufficient allocations in net/unix/garbage.c
...***
*** 59,68 ****
/* Internal data structures and random procedures: */
- - #define MAX_STACK 1000 /* Maximum depth of tree (about 1 page) */
static unix_socket **stack; /* stack of objects to mark */
static int in_stack = 0; /* first free entry in stack */
!
extern inline unix_socket *unix_get_socket(struct file *filp)
{
- --- 69,77 ----
/* Internal data structures and random procedures: */
static unix_socket **stack; /* stack of objects to mark */
static int in_stack = 0; /* first free entry in stack */
! static int max_stack; /* Calculated in unix_gc() */
extern inline unix_sock...