Re: Question on debugging reference counts on Net devices.

2005-09-01 Thread Ben Greear
David S. Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Thu, 01 Sep 2005 23:11:28 -0700 A quick optimization is to kmalloc chunks of 1000 or so structs at once and then write a cheap foomalloc method to grab and release them. We already take a lock (at least in my implementation), s

Re: [Orinoco-devel] [PATCH 0/8] orinoco: Bringing in-sync with CVS

2005-09-01 Thread David Gibson
On Thu, Sep 01, 2005 at 08:00:33PM -0400, Pavel Roskin wrote: > Hello! > > Following 8 patches bring orinoco drivers in the kernel fully in-sync > with the CVS repository at http://savannah.nongnu.org/projects/orinoco/ > ("for_linus" branch). > > The patches include 2 new front-end drivers: orino

Re: Possible BUG in IPv4 TCP window handling, all recent 2.4.x/2.6.x kernels

2005-09-01 Thread David S. Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Thu, 1 Sep 2005 22:51:48 -0400 > I have an idea why this is going on. Packets are pre-allocated by the > driver to be a max packet size, so when you send small packets, it > wastes a lot of memory. Currently Linux uses the packets at the > beginnin

Re: Question on debugging reference counts on Net devices.

2005-09-01 Thread David S. Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Thu, 01 Sep 2005 23:11:28 -0700 > A quick optimization is to kmalloc chunks of 1000 or so structs at once > and then write a cheap foomalloc method to grab and release them. We > already take a lock (at least in my implementation), so this should be > sm

Re: Question on debugging reference counts on Net devices.

2005-09-01 Thread Ben Greear
David S. Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Mon, 29 Aug 2005 16:01:11 -0700 Latest netdevice ref-count debugging patch is up. The patch is against 2.6.13: http://www.candelatech.com/oss/rfcnt.patch I reviewed this, and I think the approach can be refined and made mor

Re: Question on debugging reference counts on Net devices.

2005-09-01 Thread David S. Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Mon, 29 Aug 2005 16:01:11 -0700 > Latest netdevice ref-count debugging patch is up. The > patch is against 2.6.13: > > http://www.candelatech.com/oss/rfcnt.patch I reviewed this, and I think the approach can be refined and made more robust. The worst

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread Herbert Xu
On Thu, Sep 01, 2005 at 09:44:09PM -0700, David S. Miller wrote: > > Ok, how does this look? Thanks Dave, this one looks perfect. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Subject: Re: [PATCHES]: Two TSO refinements Date: Fri, 2 Sep 2005 14:30:26 +1000 > On Thu, Sep 01, 2005 at 09:28:16PM -0700, David S. Miller wrote: > > > > > Therefore, > > > > > > tp->lost_out >= diff > > > > I assume the same applies to tp->left_out as we

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread Herbert Xu
On Thu, Sep 01, 2005 at 09:28:16PM -0700, David S. Miller wrote: > > > Therefore, > > > > tp->lost_out >= diff > > I assume the same applies to tp->left_out as well? Yes it does. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Pag

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 2 Sep 2005 11:08:12 +1000 > Yes, because > > diff = pcount(orig_skb) - (pcount(skb) + pcount(buff)) ><= pcount(orig_skb) > > Now if orig_skb is marked as TCPCB_LOST, then by definition > > tp->lost_out >= pcount(orig_skb) >

Re: ieee80211 patches

2005-09-01 Thread Jouni Malinen
On Thu, Sep 01, 2005 at 05:26:07PM +0200, Jiri Benc wrote: > The current implementation of ieee80211 as is in ieee80211 branch > contains ugly hack so it works with ethernet frames externally (which > are internally converted to and from 802.11 frames). Because 802.3 and > 802.11 have the same for

Re: Possible BUG in IPv4 TCP window handling, all recent 2.4.x/2.6.x kernels

2005-09-01 Thread John Heffner
On Sep 1, 2005, at 6:53 PM, Ion Badulescu wrote: A few minutes later it has finally caught up to present time and it starts receiving smaller packets containing real-time data. The TCP window is still 16534 at this point. [tcpdump output removed] This is where things start going bad. The wi

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread Herbert Xu
On Thu, Sep 01, 2005 at 05:53:03PM -0700, David S. Miller wrote: > > > > + tp->lost_out -= diff; > > > + if ((int)tp->lost_out < 0) > > > + tp->lost_out = 0; > > > > These checks aren't necessary. > > Are you sure th

[ANNOUNCE] 1.0.3 release of lksctp-tools

2005-09-01 Thread Sridhar Samudrala
Hi All, A new release of lksctp-tools 1.0.3 is now available for download. It is based on the latest release of linux kernel 2.6.13 and can be downloaded from http://sourceforge.net/project/showfiles.php?group_id=26529 The release includes * the following set of 4 RPM packages and 1 gzipp

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 2 Sep 2005 08:11:37 +1000 > On Thu, Sep 01, 2005 at 03:06:47PM -0700, David S. Miller wrote: > > > > - if (TCP_SKB_CB(buff)->sacked&TCPCB_LOST) { > > - tp->lost_out += tcp_skb_pcount(buff); > > - tp->left_out += tcp_skb_pcount(b

Re: [2/2] [TCP] Fix sk_forward_alloc underflow in tcp_sendmsg

2005-09-01 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Fri, 2 Sep 2005 10:43:40 +1000 > I've finally found a potential cause of the sk_forward_alloc underflows > that people have been reporting sporadically. > > When tcp_sendmsg tacks on extra bits to an existing TCP_PAGE we don't > check sk_forward_alloc ev

[2/2] [TCP] Fix sk_forward_alloc underflow in tcp_sendmsg

2005-09-01 Thread Herbert Xu
Hi: I've finally found a potential cause of the sk_forward_alloc underflows that people have been reporting sporadically. When tcp_sendmsg tacks on extra bits to an existing TCP_PAGE we don't check sk_forward_alloc even though a large amount of time may have elapsed since we allocated the page.

Re: netdevice refcount question for mirred.c

2005-09-01 Thread Patrick McHardy
Ben Greear wrote: > > At about line 132 of mirred.c, there is this code: > > if (parm->ifindex) { > p->ifindex = parm->ifindex; > if (ret != ACT_P_CREATED) > > *** It appears that this check could allow over-writing of p->dev below > without ever calling dev_put on the p-

[1/2] [NET] Add sk_stream_wmem_schedule

2005-09-01 Thread Herbert Xu
Hi Dave: This patch introduces sk_stream_wmem_schedule as a short-hand for the sk_forward_alloc checking on egress. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana

[PATCH 8/8] orinoco: New driver - spectrum_cs.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree dee4f325520d4ea29397dd67ca657b7235bb1790 (from c88faac230cc9775445e5c644991c352e35c72a1) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 17:46:39 2005 -0400 New driver - spectrum_cs. Driver for 802.11b cards using

[PATCH 7/8] orinoco: New driver - orinoco_nortel.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree dce61aef99ceb57370b70222dc34d788666c0ac3 (from ceb6695092be8dcdfe2dec6ee5097d613011489d) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 15:50:55 2005 -0400 New driver - orinoco_nortel. This is a driver for Nortel

[PATCH 6/8] orinoco: Remove EXPERIMENTAL mark from PLX_HERMES, TMD_HERMES and PCI_HERMES.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree ceb6695092be8dcdfe2dec6ee5097d613011489d (from 6b39374a27eb4be7e9d82145ae270ba02ea90dc8) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 14:50:10 2005 -0400 Remove EXPERIMENTAL mark from PLX_HERMES, TMD_HERMES and PCI_HERME

[PATCH 5/8] orinoco: Optimize orinoco_join_ap()

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree cb289b9f9b2a0f3ae7070a008f22e383b37526ee (from 56bfcdb38b3d04c1f8c1fd705e411f4be53b663c) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 19:05:16 2005 -0400 Optimize orinoco_join_ap() - break from loop once the requested BS

[PATCH 4/8] orinoco: Fix memory leak on error in processing hostscan frames.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree ca955293cdfd3139e150d3b4fed3922a7eb651fb (from cb289b9f9b2a0f3ae7070a008f22e383b37526ee) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 19:08:00 2005 -0400 Fix memory leak on error in processing hostscan frames. diff --gi

[PATCH 3/8] orinoco: Remove entry for Intel PRO/Wireless 2011B.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree c88faac230cc9775445e5c644991c352e35c72a1 (from dce61aef99ceb57370b70222dc34d788666c0ac3) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 17:09:45 2005 -0400 Remove entry for Intel PRO/Wireless 2011B. It is not supp

[PATCH 2/8] orinoco: Change orinoco_translate_scan() to return error code on error.

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree 8fc038ec51acf5f777fade80c5e38112b766aeee (from ca955293cdfd3139e150d3b4fed3922a7eb651fb) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 19:10:12 2005 -0400 Change orinoco_translate_scan() to return error code on error.

[PATCH 1/8] orinoco: Stop using "ieee802_11.h".

2005-09-01 Thread Pavel Roskin
Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> diff-tree 56bfcdb38b3d04c1f8c1fd705e411f4be53b663c (from dee4f325520d4ea29397dd67ca657b7235bb1790) Author: Pavel Roskin <[EMAIL PROTECTED]> Date: Thu Sep 1 18:15:07 2005 -0400 Stop using "ieee802_11.h". Use equivalent constants from

Re: Possible BUG in IPv4 TCP window handling, all recent 2.4.x/2.6.x kernels

2005-09-01 Thread Jesper Juhl
On 9/2/05, Ion Badulescu <[EMAIL PROTECTED]> wrote: > Hi David, > > On Thu, 1 Sep 2005, David S. Miller wrote: > > > Thanks for the empty posting. Please provide the content you > > intended to post, and furthermore please post it to the network > > developer mailing list, netdev@vger.kernel.org

Re: Possible BUG in IPv4 TCP window handling, all recent 2.4.x/2.6.x kernels

2005-09-01 Thread Ion Badulescu
Hi David, On Thu, 1 Sep 2005, David S. Miller wrote: Thanks for the empty posting. Please provide the content you intended to post, and furthermore please post it to the network developer mailing list, netdev@vger.kernel.org First of all, thanks for the reply (even to an empty posting :). T

Re: [PATCH] Repair Incoming Interface Handling for Raw Socket.

2005-09-01 Thread David S. Miller
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Date: Thu, 01 Sep 2005 20:51:14 +0900 (JST) > This patch fixes the issue by using appropriate incoming interface, > in the sense of scoping architecture. > > Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Applied, thanks. - To unsubscribe from th

Re: netdevice refcount question for mirred.c

2005-09-01 Thread David S. Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Thu, 01 Sep 2005 15:39:31 -0700 > Also, earlier in the method it does a __dev_get_by_index(parm->ifindex), > and continues to use the returned value after that. Couldn't this lead > to a reference-after-free, or does external locking prohibit this? Prob

Re: Perf problem with qdisc ? dev_queue_xmit_nit() can be called many times for the same packet

2005-09-01 Thread David S. Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Mon, 29 Aug 2005 13:29:50 -0700 > On Sat, 2005-08-27 at 22:38 +0200, Eric Dumazet wrote: > > > > > - [TG3] : tx_lock spinlock is taken in tg3_tx() only when really needed. > > > > This is similar to your tx_lock patch for tg3 but takes it one step

Re: [PATCH] Fix typo (memcpy length) of CLUSTERIP target

2005-09-01 Thread David S. Miller
From: Harald Welte <[EMAIL PROTECTED]> Date: Tue, 30 Aug 2005 16:11:19 +0200 > Hi Dave, Please apply. Applied, thanks. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.ht

Re: [PATCH] Fix netpoll bug in Sun GEM Ether driver

2005-09-01 Thread David S. Miller
From: Geoff Levand <[EMAIL PROTECTED]> Date: Mon, 29 Aug 2005 15:04:24 -0700 > Sure, your fix works, and seems to be the best way to do it. > > Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Applied, thanks everyone. - To unsubscribe from this list: send the line "unsubscribe netdev" in the bod

[git patches] 2.6.x net driver updates

2005-09-01 Thread Jeff Garzik
Please pull from 'upstream' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git to receive the tulip and iseries_veth updates described below: drivers/net/iseries_veth.h | 46 -- drivers/net/iseries_veth.c | 869 +++---

Re: [2.6 patch] include/net/ip_vs.h: "extern inline" -> "static inline"

2005-09-01 Thread David S. Miller
From: Adrian Bunk <[EMAIL PROTECTED]> Date: Wed, 24 Aug 2005 17:58:06 +0200 > "extern inline" doesn't make much sense. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied, thanks Adrian. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread David S. Miller
Ok, here is the current version of the patch, and what I intend to push to Linus: diff-tree 4980a059ef42741e80e9efa0dabdf520f9ba0c5a (from 6b39374a27eb4be7e9d82145ae270ba02ea90dc8) Author: David S. Miller <[EMAIL PROTECTED]> Date: Thu Sep 1 15:06:18 2005 -0700 [TCP]: Keep TSO enabled even

Re: [Patch] Set link type on tun/tap, v2

2005-09-01 Thread David S. Miller
From: Mike Kershaw <[EMAIL PROTECTED]> Date: Tue, 23 Aug 2005 19:48:37 -0400 > Same patch as before, only following Dave's advice to not change the > link type of an interface while its up. Applied, thanks Mike. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of

Re: [PATCHES]: Two TSO refinements

2005-09-01 Thread Herbert Xu
On Thu, Sep 01, 2005 at 03:06:47PM -0700, David S. Miller wrote: > > - if (TCP_SKB_CB(buff)->sacked&TCPCB_LOST) { > - tp->lost_out += tcp_skb_pcount(buff); > - tp->left_out += tcp_skb_pcount(buff); > + tp->packets_out -= diff; > + if (diff > 0) {

Re: ATA over Ethernet potential reference after free of net-device.

2005-09-01 Thread Ben Greear
Ed L Cashin wrote: Ben Greear <[EMAIL PROTECTED]> writes: Hello! I believe that the aoecmd_cfg method in aoecmd.c can reference the net-devices after free. The reason is that it grabs and releases the interface with dev_hold, dev_put, but after putting everything, it then does the transmit o

Re: ATA over Ethernet potential reference after free of net-device.

2005-09-01 Thread Ed L Cashin
Ben Greear <[EMAIL PROTECTED]> writes: > Hello! > > I believe that the aoecmd_cfg method in aoecmd.c can reference > the net-devices after free. The reason is that it grabs and releases > the interface with dev_hold, dev_put, but after putting everything, it > then does the transmit of the skbs..

Re: Netdevice reference leak in af_ax25.c ??

2005-09-01 Thread Ralf Baechle
On Thu, Sep 01, 2005 at 08:56:19PM +0200, Patrick McHardy wrote: > > I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c (line 613 or so) > > leaks a reference to a net device. It does a dev_get_by_name, > > which holds a reference, but since it never assigns the pointer > > anywhere, I do n

[PATCH] 8139cp: Catch all interrupts

2005-09-01 Thread Pierre Ossman
Register interrupt handler when net device is registered. Avoids missing interrupts if the interrupt mask gets out of sync. Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]> --- The reason this patch is needed for me is that the resume function is broken. It enables interrupts unconditionally, bu

Re: Netlink connector. Revisited.

2005-09-01 Thread Evgeniy Polyakov
If noone has any objection, please consider for inclusion. Thank you. On Fri, Aug 26, 2005 at 02:09:38PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > Kernel connector - new userspace <-> kernel space easy to > use communication module which implements easy to use bidirectional > message

Re: Netdevice reference leak in af_ax25.c ??

2005-09-01 Thread Patrick McHardy
Ben Greear wrote: > > I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c (line 613 or so) > leaks a reference to a net device. It does a dev_get_by_name, > which holds a reference, but since it never assigns the pointer > anywhere, I do not see how it can ever free it later. > > Please clu

Re: Netlink connector. Revisited.

2005-09-01 Thread David S. Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Thu, 1 Sep 2005 23:51:31 +0400 > If noone has any objection, please consider for inclusion. I intend to review this soon, but I'm backlogged with other tasks at the moment. I'm hoping someone else can at least give some feedback, meanwhile. - To

Re: Netdevice reference leak in af_ax25.c ??

2005-09-01 Thread Ben Greear
Ralf Baechle wrote: On Thu, Sep 01, 2005 at 08:56:19PM +0200, Patrick McHardy wrote: I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c (line 613 or so) leaks a reference to a net device. It does a dev_get_by_name, which holds a reference, but since it never assigns the pointer anywhere

Re: ieee80211 patches

2005-09-01 Thread Jean Tourrilhes
On Thu, Sep 01, 2005 at 07:36:34PM +0100, Pedro Ramalhais wrote: > > Oops, my brain had censored that part of the iwconfig manual. Yeah, it come at the end of a long page ;-) > Reading that, and since i imagine that few people use it, Not explicitely, but it's used internally.

Re: Netdevice reference leak in af_ax25.c ??

2005-09-01 Thread Ben Greear
Patrick McHardy wrote: Ben Greear wrote: I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c (line 613 or so) leaks a reference to a net device. It does a dev_get_by_name, which holds a reference, but since it never assigns the pointer anywhere, I do not see how it can ever free it later.

Netdevice reference leak in af_ax25.c ??

2005-09-01 Thread Ben Greear
I believe the SO_BINDTODEVICE case in net/ax25/af_x25.c (line 613 or so) leaks a reference to a net device. It does a dev_get_by_name, which holds a reference, but since it never assigns the pointer anywhere, I do not see how it can ever free it later. Please clue me in as to where it's releas

Re: ieee80211 patches

2005-09-01 Thread Pedro Ramalhais
On Thu, 2005-09-01 at 10:59 -0700, Jean Tourrilhes wrote: > Jiri Benc wrote : > > On Thu, 01 Sep 2005 11:09:16 +0100, Pedro Ramalhais wrote: > > > Right, that would need a new interface where all parameters are passed > > > at once, > > > > Then you will lose the possibility of having default para

Re: ieee80211 patches

2005-09-01 Thread Pedro Ramalhais
On Thu, 2005-09-01 at 16:48 +0200, Jiri Benc wrote: > On Thu, 01 Sep 2005 11:09:16 +0100, Pedro Ramalhais wrote: > > The scheme looks good to me. Wireless cards mostly map to a regular > > network card. Only difference is that you need to do something to > > configure the link to have "carrier dete

Re: Very strange Marvell/Yukon Gigabit NIC networking problems

2005-09-01 Thread Stephen Hemminger
On Tue, 30 Aug 2005 12:54:31 +0100 Daniel Drake <[EMAIL PROTECTED]> wrote: > Hi Stephen, > > This looks like an issue I reported previously. After you use a recent skge, > you can't use any older drivers or the windows driver, but skge still works > fine every time. > > http://marc.theai

Re: Very strange Marvell/Yukon Gigabit NIC networking problems

2005-09-01 Thread Stephen Hemminger
On Wed, 31 Aug 2005 10:09:48 +1000 (EST) Steve Kieu <[EMAIL PROTECTED]> wrote: > > --- Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > On Wed, 31 Aug 2005 07:49:37 +1000 (EST) > > > > > > > install-8_23.tar.bz2 > > > > Just look for references to CHIP_REV_YU_LITE_A3 in > > the driver > >

Re: ieee80211 patches

2005-09-01 Thread Jean Tourrilhes
Jiri Benc wrote : > On Thu, 01 Sep 2005 11:09:16 +0100, Pedro Ramalhais wrote: > > Right, that would need a new interface where all parameters are passed > > at once, > > Then you will lose the possibility of having default parameters. Just for your information, it's actually trivial to c

Re: [resend][PATCH net-drivers-2.6 3/8] e1000: Fixes for packet split related issues

2005-09-01 Thread Malli
there are no changes in other patches I din't want to flood your mail box, -Malli On 9/1/05, Jeff Garzik <[EMAIL PROTECTED]> wrote: > I only received parts 2[abc], 3, and 8. > >Jeff > > > > - > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message

Re: ieee80211 patches

2005-09-01 Thread Stephen Hemminger
By the way, last time I looked at the ifplugd source it was using outdated and incorrect ways to detect carrier. It should just open a netlink socket and wait for carrier event. Instead it seems to muck around looking at MII, wireless API and other ways that only work on some devices. In current k

[PATCH] mv643xx: fix skb memory leak

2005-09-01 Thread Dale Farnsworth
This patch fixes an skb memory leak under heavy receive load (whenever the more packets have been received than the NAPI budget allows to be processed). Signed-off-by: Dale Farnsworth <[EMAIL PROTECTED]> Index: linux-2.6.13-rc6-mm2-mv643xx-enet/drivers/net/mv643xx_eth.c ==

Re: ieee80211 patches

2005-09-01 Thread Jean Tourrilhes
On Thu, Sep 01, 2005 at 02:13:21PM +0200, Jiri Benc wrote: > On Wed, 31 Aug 2005 10:52:54 -0700, Jean Tourrilhes wrote: > > I personally consider that a bug in ifplugd. For example, the > > hp100 Ethernet driver will start media sensing only in the open() > > call, which means that ifplugd won'

Re: ieee80211 patches

2005-09-01 Thread Jiri Benc
On Wed, 31 Aug 2005 22:40:00 +0200, Pavel Machek wrote: > AFAICS, with your patches ifconfig shows counts of wifi packets. How > do I get ethernet packet counts? Will tcpdump wlan0 work on ethernet > or wifi level? Ethernet corresponds to 802.3, wifi is 802.11. These are different standards descri

Re: ieee80211 patches

2005-09-01 Thread Jiri Benc
On Thu, 01 Sep 2005 11:09:16 +0100, Pedro Ramalhais wrote: > The scheme looks good to me. Wireless cards mostly map to a regular > network card. Only difference is that you need to do something to > configure the link to have "carrier detected" and DHCP should only be > started after "carrier detec

Re: ieee80211 patches

2005-09-01 Thread Jiri Benc
On Wed, 31 Aug 2005 17:06:19 -0400, Peter Jones wrote: > Not necessarily started "by hotplug", but started by something like > ifplugd or NetworkManager. And that class of programs is already > responsible for things like choosing what AP to associate, so it's an > extra degree of control for them

[PATCH] Fix MCAST_EXCLUDE line dupes in igmp/mcast

2005-09-01 Thread Denis Lukianov
No reply from ipv4/6 maintainers, forwarding this to the networking list. Begin forwarded message: From: Denis Lukianov <[EMAIL PROTECTED]> Date: 27 August 2005 16:54:05 GMT+04:00 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PATCH] Fix MCAST_EXCLUDE line dupe Grepping for "sfcount[M

Re: ieee80211 patches

2005-09-01 Thread Jiri Benc
On Wed, 31 Aug 2005 10:52:54 -0700, Jean Tourrilhes wrote: > I personally consider that a bug in ifplugd. For example, the > hp100 Ethernet driver will start media sensing only in the open() > call, which means that ifplugd won't work on the hp100 driver. > It would be trivial to fix if

[PATCH] Repair Incoming Interface Handling for Raw Socket.

2005-09-01 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. Due to changes to enforce checking interface bindings, sockets did not see loopback packets bound for our local address on our interface. e.g.) When we ping6 fe80::1%eth0, skb->dev points loopback_dev while IP6CB(skb)->iif indicates eth0. This patch fixes the issue by using appropriat

Re: [Ieee80211-devel] Re: ieee80211 patches

2005-09-01 Thread Pedro Ramalhais
Jiri Benc wrote: > On Sat, 27 Aug 2005 11:21:37 -0500, James Ketrenos wrote: > >>The order required of user space is: >> >> kernel hotplug hotplug script >> -------- >>1. module load >>2. netdev devic

Re: [resend][PATCH net-drivers-2.6 3/8] e1000: Fixes for packet split related issues

2005-09-01 Thread Jeff Garzik
I only received parts 2[abc], 3, and 8. Jeff - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html