net-ipv5-tcp-use-vma_lookup-in-tcp_zerocopy_receive.patch removed from -mm tree
The patch titled
Subject: net/ipv5/tcp: use vma_lookup() in tcp_zerocopy_receive()
has been removed from the -mm tree. Its filename was
net-ipv5-tcp-use-vma_lookup-in-tcp_zerocopy_receive.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Liam Howlett <[email protected]>
Subject: net/ipv5/tcp: use vma_lookup() in tcp_zerocopy_receive()
Use vma_lookup() to find the VMA at a specific address. As vma_lookup() will return NULL if the address is not within any VMA, the start address no longer needs to be validated.
Signed-off-by Liam R. Howlett <[email protected]>
Reviewed-by Laurent Dufour <[email protected]>
Acked-by Davidlohr Bueso <[email protected]>
Cc David Miller <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
net/ipv4/tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
net/ipv4/tcp.c renamed from net/ipv4/tcp.c~net-ipv5-tcp-use-vma_lookup-in-tcp_zerocopy_receive +2 -2
@@ -2095,8 +2095,8 @@ static int tcp_zerocopy_receive(struct smmap_read_lock (current->mm); - vma =find_vma (current->mm, address); -if (!vma || vma->vm_start > address || vma->vm_ops != &tcp_vm_ops) { + vma =vma_lookup (current->mm, address); +if (!vma || vma->vm_ops != &tcp_vm_ops) {mmap_read_unlock (current->mm);return -EINVAL ; }
_
Patches currently in -mm which might be from [email protected] are