[PATCH] create sysfs "device" files for hostap

2005-07-15 Thread Dave Hansen
I was writing some scripts to automatically build kismet source lines, and I noticed that hostap devices don't have device files, unlike my prism54 and ipw2200 cards: $ ls -l /sys/class/net/eth0/device /sys/class/net/eth0/device -> ../../../devices/pci:00/:00:1e.0/:02:01.0 $ ls -l /sy

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Evgeniy Polyakov
On Fri, Jul 15, 2005 at 04:16:17PM -0700, Max Krasnyansky ([EMAIL PROTECTED]) wrote: > Evgeniy, > > > The latest version is available at > > http://tservice.net.ru/~s0mbre/archive/af_tlb > > > > It has several enhancements, fixed some stuff, > > many cleanups. Fixed/upgraded skb freeing mechan

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Max Krasnyansky
Evgeniy, The latest version is available at http://tservice.net.ru/~s0mbre/archive/af_tlb It has several enhancements, fixed some stuff, many cleanups. Fixed/upgraded skb freeing mechanism. Thanks. I'll take a look at it. I think this zero-copy mechanism can be used in tun/tap devices too

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Evgeniy Polyakov
On Fri, Jul 15, 2005 at 03:48:44PM -0700, Max Krasnyansky ([EMAIL PROTECTED]) wrote: > Jamal, > > Thanx for forwarding. Somehow I didn't see this one. I guess it's time for me > to check my linux-kernel and netdev subscriptions :). > > >>Basic idea behind zero-copy is remapping of the > >>physi

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Max Krasnyansky
Jamal, Thanx for forwarding. Somehow I didn't see this one. I guess it's time for me to check my linux-kernel and netdev subscriptions :). Basic idea behind zero-copy is remapping of the physical pages where skb->data lives to the userspace process. According to my tests, which can be found c

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Evgeniy Polyakov
On Fri, Jul 15, 2005 at 05:51:41PM -0400, Jamal Hadi Salim ([EMAIL PROTECTED]) wrote: > Evgeniy, > > Some good ideas in there. > You should talk/sync to Max Krasnyansky (CCed). I think theres a lot of > stuff you are doing that he is trying to do as well with the new tuntap > that he is working

Re: [RFC] Zero-copy sniffer.

2005-07-15 Thread Jamal Hadi Salim
Evgeniy, Some good ideas in there. You should talk/sync to Max Krasnyansky (CCed). I think theres a lot of stuff you are doing that he is trying to do as well with the new tuntap that he is working on. I think put together - some cool ideas can be implemented. cheers, jamal On Thu, 2005-14-07

[2.6 patch] fix IP_FIB_HASH kconfig warning

2005-07-15 Thread Adrian Bunk
This patch fixes the following kconfig warning: net/ipv4/Kconfig:92:warning: defaults for choice values not supported Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 9 Jul 2005 --- linux-2.6.13-rc2-mm1-modular/net/ipv4/Kconfig.old 2005-07-08 23:55:31.00

Re: [stable] Re: [05/11] SMP fix for 6pack driver

2005-07-15 Thread Adrian Bunk
On Wed, Jul 13, 2005 at 03:13:11PM -0700, Greg KH wrote: > On Thu, Jul 14, 2005 at 12:01:23AM +0200, Francois Romieu wrote: > > Greg KH <[EMAIL PROTECTED]> : > > > -stable review patch. If anyone has any objections, please let us know. > > > > > > -- > > > > > > > > > Drivers re

Re: [patch 1/1] drivers/net/wan/: use of time_after macro

2005-07-15 Thread David S. Miller
From: [EMAIL PROTECTED] Date: Thu, 14 Jul 2005 23:41:43 +0200 > Use of the time_after() macro, defined at linux/jiffies.h, which deal > with wrapping correctly and are nicer to read. > > Signed-off-by: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> > Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> P

Re: [patch 1/1] drivers/net/pcmcia/smc91c92_cs.c : Use of time_after macro

2005-07-15 Thread David S. Miller
From: [EMAIL PROTECTED] Date: Thu, 14 Jul 2005 23:41:51 +0200 > Use of the time_after() macro, defined at linux/jiffies.h, which deal > with wrapping correctly and are nicer to read. > > Signed-off-by: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> > Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> P

Re: eepro100/e100 broken in 2.6.13-rc3

2005-07-15 Thread Mikhail Kshevetskiy
Jesse Brandeburg <[EMAIL PROTECTED]> wrote: > On 7/14/05, Mikhail Kshevetskiy <[EMAIL PROTECTED]> wrote: > > On Wed, 13 Jul 2005 23:28:15 -0700 > > Jesse Brandeburg <[EMAIL PROTECTED]> wrote: > > > > > On 7/13/05, Mikhail Kshevetskiy <[EMAIL PROTECTED]> wrote: > > > > symptom > > > > === > >

Re: ping behaviour

2005-07-15 Thread Andy Furniss
Francois Romieu wrote: Andy Furniss <[EMAIL PROTECTED]> : [...] They will be the same as connexent haven't touched the drivers for years, Patrick ported them to 2.6 and a diff doesn't show any difference involving HZ that I can see. You are comparing two completely different ->systems<-. Pl

Re: ALIGN at crypt/cipher.c

2005-07-15 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 15 Jul 2005 12:27:56 +1000 > On Thu, Jul 14, 2005 at 02:36:16PM +, Ken-ichirou MATSUZAWA wrote: > > > > No, I think I can understand. align should be unsigned long too. > > After changing align to unsigned long from int, it works fine. > > Than

Re: ping behaviour

2005-07-15 Thread Francois Romieu
Andy Furniss <[EMAIL PROTECTED]> : [...] > They will be the same as connexent haven't touched the drivers for > years, Patrick ported them to 2.6 and a diff doesn't show any difference > involving HZ that I can see. You are comparing two completely different ->systems<-. Please stop being focuse

Re: [PATCH] 2.6.x ieee80211 updates

2005-07-15 Thread James Ketrenos
Jiri Benc wrote: >On Thu, 14 Jul 2005 19:10:44 -0500, James Ketrenos wrote: > > >>commit bba9fbbfd36132957230cd1500dce37c3d1536e2 >>tree a3c0f26c595a5237698e38629b9c58a661f759c6 >>parent 0c168775709faa74c1b87f1e61046e0c51ade7f3 >>author <[EMAIL PROTECTED](none)> Mon, 11 Jul 2005 17:26:47 -0500 >

Re: [PATCH] 2.6.x ieee80211 updates

2005-07-15 Thread Jiri Benc
On Thu, 14 Jul 2005 19:10:44 -0500, James Ketrenos wrote: > commit bba9fbbfd36132957230cd1500dce37c3d1536e2 > tree a3c0f26c595a5237698e38629b9c58a661f759c6 > parent 0c168775709faa74c1b87f1e61046e0c51ade7f3 > author <[EMAIL PROTECTED](none)> Mon, 11 Jul 2005 17:26:47 -0500 > committer <[EMAIL PROTEC

Re: ping behaviour

2005-07-15 Thread Andy Furniss
Francois Romieu wrote: Andy Furniss <[EMAIL PROTECTED]> : [ping latencies fluctuates with conexant adsl driver] Does anyone know what could be causing this. You will have a hard time figuring it and many people (me included) will keep a good distance with an issue which includes > 400 ko of

Re: PPPoE dropping packets?

2005-07-15 Thread Antti Salmela
On Fri, Jul 15, 2005 at 07:24:08AM -0400, Michal Ostrowski wrote: > The connection between these two hosts is via your ISP right? > > I'd like to see a third trace, synchronized to the other two, performed > on 213.139.163.144: tcpdump -n -i eth0 > > This will show me what PPPoE packets are being

Re: PPPoE dropping packets?

2005-07-15 Thread Michal Ostrowski
The connection between these two hosts is via your ISP right? I'd like to see a third trace, synchronized to the other two, performed on 213.139.163.144: tcpdump -n -i eth0 This will show me what PPPoE packets are being sent (on the other side of the ppp0 device). -- Michal Ostrowski On Fri,

PPPoE dropping packets?

2005-07-15 Thread Antti Salmela
I'm running 2.6.13-rc3 now but have been suffering from weird stalls with my PPPoE connection ever since my ISP made it a requirement, about two months ago. I found out by listening outgoing ethernet interface with tcpdump that when a stall occurs, it's not sending anything. Listening ppp interface

[PATCH] Use time_before in hamradio drivers

2005-07-15 Thread Ralf Baechle DL5RB
From: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> Use of time_before() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle