]> git.pld-linux.org Git - packages/kernel.git/blob - 2.2.21-mm_afunix.patch
- ported from linux-2.4.25-atmdd.patch
[packages/kernel.git] / 2.2.21-mm_afunix.patch
1 diff -urN linux.orig/mm/memory.c linux/mm/memory.c
2 --- linux.orig/mm/memory.c      Wed Aug  7 20:20:39 2002
3 +++ linux/mm/memory.c   Wed Aug  7 20:12:47 2002
4 @@ -498,7 +498,7 @@
5                         if (vma->vm_start > ptr) {
6                                 if (!(vma->vm_flags & VM_GROWSDOWN))
7                                         goto out;
8 -                               if (expand_stack(vma, ptr))
9 +                               if (expand_stack(vma, ptr, NULL))
10                                         goto out;
11                         }
12                         err = -EACCES;
13 diff -urN linux.orig/net/unix/af_unix.c linux/net/unix/af_unix.c
14 --- linux.orig/net/unix/af_unix.c       Wed Aug  7 20:20:22 2002
15 +++ linux/net/unix/af_unix.c    Wed Aug  7 20:18:38 2002
16 @@ -1525,7 +1525,7 @@
17                 return;
18         wake_up_interruptible(sk->sleep);
19         if (sk->sndbuf - (int)atomic_read(&sk->wmem_alloc) >= MIN_WRITE_SPACE)
20 -               sock_wake_async(sk->socket, 2);
21 +               sock_wake_async(sk->socket, 2, POLL_OUT);
22  }
23  
24  #ifdef CONFIG_PROC_FS
This page took 0.032453 seconds and 3 git commands to generate.