Re: [PATCH] AF_PACKET: mmap compat support

2006-02-12 Thread FUJITA Tomonori
From: FUJITA Tomonori <[EMAIL PROTECTED]> Subject: Re: [PATCH] AF_PACKET: mmap compat support Date: Mon, 13 Feb 2006 13:27:49 +0900 > > > NACK. The 32bit test ifdefs are horrible. Please add fops->compat_mmap > > > instead. > > > > is_compat_task()

Re: [PATCH] AF_PACKET: mmap compat support

2006-02-12 Thread FUJITA Tomonori
From: "David S. Miller" <[EMAIL PROTECTED]> Subject: Re: [PATCH] AF_PACKET: mmap compat support Date: Fri, 10 Feb 2006 02:53:42 -0800 (PST) > > NACK. The 32bit test ifdefs are horrible. Please add fops->compat_mmap > > instead. > > is_compat_task() is

Re: [PATCH] AF_PACKET: mmap compat support

2006-02-10 Thread David S. Miller
From: Christoph Hellwig <[EMAIL PROTECTED]> Date: Fri, 10 Feb 2006 10:39:14 + > On Fri, Feb 10, 2006 at 06:25:33PM +0900, FUJITA Tomonori wrote: > > This is AF_PACKET mmap compat support. > > > > I confirmed that 32-bit and 64-bit tcpdump binaries using AF_PACKET > > mmap'ed pcap can dump pac

Re: [PATCH] AF_PACKET: mmap compat support

2006-02-10 Thread Christoph Hellwig
On Fri, Feb 10, 2006 at 06:25:33PM +0900, FUJITA Tomonori wrote: > This is AF_PACKET mmap compat support. > > I confirmed that 32-bit and 64-bit tcpdump binaries using AF_PACKET > mmap'ed pcap can dump packets properly with a 64-bit kernel. NACK. The 32bit test ifdefs are horrible. Please add f

[PATCH] AF_PACKET: mmap compat support

2006-02-10 Thread FUJITA Tomonori
This is AF_PACKET mmap compat support. I confirmed that 32-bit and 64-bit tcpdump binaries using AF_PACKET mmap'ed pcap can dump packets properly with a 64-bit kernel. Thanks to David for all your help. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- net/packet/af_packet.c | 156 ++