[PATCH 2.6.17 6/9] NetXen: Main header file

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic.h linux-2.6.17/drivers/net/netxen/netxen_nic.h --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic.h 1969-12-31 16:00:00.0 -0800 +++ linux-2.6.17/drivers/net/netxen/netxen_nic.h

[PATCH 2.6.17 7/9] NetXen: hw access routines header file

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hw.h linux-2.6.17/drivers/net/netxen/netxen_nic_hw.h --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hw.h1969-12-31 16:00:00.0 -0800 +++

[PATCH 2.6.17 8/9] NetXen: Header file and ioctl header file

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hdr.h linux-2.6.17/drivers/net/netxen/netxen_nic_hdr.h --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hdr.h 1969-12-31 16:00:00.0 -0800 +++

[PATCH 2.6.17 9/9] NetXen: CRB reg definitions

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_phan_reg.h linux-2.6.17/drivers/net/netxen/netxen_nic_phan_reg.h --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_phan_reg.h 1969-12-31 16:00:00.0 -0800 +++

Re: [PATCH 0/3] secid reconciliation-v01: Repost patchset with up dates

2006-08-31 Thread Paul Moore
Venkat Yekkirala wrote: My main concern with these patches is that moving the NetLabel check out of selinux_socket_sock_rcv_skb() and into selinux_skb_policy_check() (as it is currently written) would force us to compare a packet's NetLabel with either the IPsec label or the secmark label Yes

Re: [PATCH] WE-21 for bcm43xx (wireless-2.6 git)

2006-08-31 Thread Larry Finger
Michael Buesch wrote: On Thursday 31 August 2006 02:57, Larry Finger wrote: +#if WIRELESS_EXT 20 +#define IW_ESSID_FIX0 +#else +#define IW_ESSID_FIX1 +#endif Eh, was this useless #if in the original patch I signed-off, too? Because I want to revert my sign-off. :) This

Re: [PATCH] WE-21 for bcm43xx (wireless-2.6 git)

2006-08-31 Thread John W. Linville
On Thu, Aug 31, 2006 at 08:22:22AM -0500, Larry Finger wrote: John, have you merged, or do you plan to merge, [PATCH 2.6.18] WE-21 support (core API) into wireless-2.6? I guess that is still up for discussion. It looks like at least part of it is desirable, but maybe not other parts.

[RFC][PATCH] Add netpoll/netconsole support to vlan devices

2006-08-31 Thread Jesper Juhl
Greetings, I recently tried running netconsole via a vlan interface without luck, and decided to do something about it (see patch below). My interfaces look like this: eth0 Link encap:Ethernet HWaddr 00:14:5E:28:3C:2E UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

Re: IPSec kernel oops on ppc64

2006-08-31 Thread Joy Latten
It works! I applied the patch to linux-2.6.17 + patch-2.6.17-rc1 and tried icmp, tcp and udp as well as sftp with ipsec and they all worked. Thanks Regards, Joy Herbert Xu writes: Interesting. We were previously off by 28 bytes, now we're off by 8 :) You missed a couple of 'beqlr'

RE: [PATCH 0/3] secid reconciliation-v01: Repost patchset with up dates

2006-08-31 Thread Venkat Yekkirala
Assuming the permission is granted the packet's secmark is replaced with the updated context. This updated secmark context would then be used in sock_rcv_skb() to make an access decision, yes? You got it. The ability to make access decisions based on the process consuming the data

Re: PROBLEM: kernel BUG at net/ipv6/ip6_output.c:718

2006-08-31 Thread cagri coltekin
Hi Again, It took a while to find equipment for test environment, but now I have a test environment that I can test. Here is the result: --- [17180051.768000] ip6_fragment: hlen = 0x818, len = 0x7ce, nexthdr=4

Re: high latency with TCP connections

2006-08-31 Thread Sridhar Samudrala
Alexander Vodomerov wrote: On Wed, Aug 30, 2006 at 02:39:55PM -0700, David Miller wrote: Expecting any performance with one byte write's is silly. This is absolutely true. TCP_NODELAY can only save you when you are sending a small amount of data in aggregate, such as in an SSH or

Re: [PATCH 2.6.18] WE-21 for bcm43xx (wireless-2.6 git)

2006-08-31 Thread Jean Tourrilhes
On Thu, Aug 31, 2006 at 03:09:04PM +0200, Johannes Berg wrote: Jean, This is the version of the patch for out-of-tree, I guess you will need it. Not tested. We don't, neither softmac nor bcm43xx is maintained out-of-tree any more. johannes Cool. I should have checked...

Probably e1000 related Oops in 2.6.18-rc5

2006-08-31 Thread Krzysztof Oledzki
Hello, My testing workstation running 2.6.18-rc5 Oopsed. It has a dualport e1000 card with bonding and vlans. All I have is three fotos made by a digital camera: http://www.ans.pl/Oops/1/ Hope it is enough. Best regards, Krzysztof Olędzki

[PATCH] Wireless-2.6 changes for bcm43xx and SoftMAC for WE-21

2006-08-31 Thread Larry Finger
John, As discussed earlier, here is the wireless-2.6 patch for WE-21 in bcm43xx-softmac. The core patch for the SSID length, which I believe is non-controversial, must be applied first. Larry -- Patch to make bcm43xx-softmac be compatible

Re: [PATCH] WE-21 for bcm43xx (wireless-2.6 git)

2006-08-31 Thread Jean Tourrilhes
On Thu, Aug 31, 2006 at 09:57:45AM -0400, John W. Linville wrote: On Thu, Aug 31, 2006 at 08:22:22AM -0500, Larry Finger wrote: John, have you merged, or do you plan to merge, [PATCH 2.6.18] WE-21 support (core API) into wireless-2.6? I guess that is still up for discussion. It looks

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-08-31 Thread Jean Tourrilhes
On Thu, Aug 31, 2006 at 03:32:18PM +0200, Johannes Berg wrote: On Tue, 2006-08-29 at 17:56 -0700, Jean Tourrilhes wrote: o modulation o long/short retry o relative power saving. I strongly disagree to these. And I strongly disagree with your

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-08-31 Thread Michael Buesch
On Thursday 31 August 2006 19:12, Jean Tourrilhes wrote: On Thu, Aug 31, 2006 at 03:32:18PM +0200, Johannes Berg wrote: On Tue, 2006-08-29 at 17:56 -0700, Jean Tourrilhes wrote: o modulation o long/short retry o relative power saving. I strongly

[PATCH] change max_dgram_qlen sysctl to __read_mostly

2006-08-31 Thread Brian Haley
Change AF_UNIX sysctl_unix_max_dgram_qlen to __read_mostly. Signed-off-by: Brian Haley [EMAIL PROTECTED] diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 7c91c20..b43a278 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -117,7 +117,7 @@ #include net/checksum.h #include

[PATCH] change somaxconn sysctl to __read_mostly

2006-08-31 Thread Brian Haley
Change sysctl_somaxconn to __read_mostly. Signed-off-by: Brian Haley [EMAIL PROTECTED] diff --git a/net/socket.c b/net/socket.c index f4d143c..e3d67fe 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1336,7 +1336,7 @@ asmlinkage long sys_bind(int fd, struct * ready for listening. */ -int

[PATCH 0/7] 8139cp: misc minor changes

2006-08-31 Thread Francois Romieu
The serie contains the patches summarized below: - 1/7 trim ring_info - 2/7 remove gratuitous indirection - 3/7 ring_info removal for the receive path - 4/7 sync the device private data with its r8169 counterpart - 5/7 removal of useless BUG_ON() check - 6/7 pci_get_drvdata(pdev) can not be NULL

[PATCH 4/7] 8139cp: sync the device private data with its r8169 counterpart

2006-08-31 Thread Francois Romieu
struct cp_private is reorganized to be more easily compared between the r8169 and the 8139cp drivers. The alignment should not be impacted. Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-)

[PATCH 1/7] 8139cp: trim ring_info

2006-08-31 Thread Francois Romieu
Fat removal: the mapping address is available from the Rx/Tx descriptors. Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c | 33 - 1 files changed, 16 insertions(+), 17 deletions(-) 3598b57be449a2ee9178e5c511bdb1a8aaccba20 diff --git

[PATCH 5/7] 8139cp: removal of useless BUG_ON() check

2006-08-31 Thread Francois Romieu
netdev_priv() will provide a nice oops a few lines before the BUG_ON() check. Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) e68970e7543815133224f79a858e7c9e0c42f4de diff --git a/drivers/net/8139cp.c

[PATCH 3/7] 8139cp: ring_info removal for the receive path

2006-08-31 Thread Francois Romieu
The ring_info.len field is not used at all. cp_private.rx_skb is turned into an array of sk_buff *. Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) 0ba894d420b845667e2981c2147af974a755fba2 diff

[PATCH 2/7] 8139cp: remove gratuitous indirection

2006-08-31 Thread Francois Romieu
dev is an argument of the current function. Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) c48e9399e895834f26dff9149de1930ba18a0d6c diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index

[PATCH 7/7] 8139cp: use PCI_DEVICE() to shorten the PCI device table

2006-08-31 Thread Francois Romieu
Signed-off-by: Francois Romieu [EMAIL PROTECTED] --- drivers/net/8139cp.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) cccb20d3a9b7c6d4b6e1b52ee02814e6094aaa12 diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index a123d28..bbdaa18 100644 --- a/drivers/net/8139cp.c

[PATCH 6/7] 8139cp: pci_get_drvdata(pdev) can not be NULL in suspend handler

2006-08-31 Thread Francois Romieu
1) pci_set_drvdata() is used in cp_{init/remove}_one to initialize/reset driver_data to the relevant value (resp. net_device * and NULL). 2) each of the 3 relevant functions is issued under (device *)-sem: 2.1) pci_unregister_driver - driver_unregister - bus_remove_driver

Re: RTL8136

2006-08-31 Thread Francois Romieu
Darren Salt [EMAIL PROTECTED] : [...] The former. Without that, the connection is persistently re-negotiated (though, according to the switch's LEDs, it's fine before the module is loaded). The state of the LEDs at startup is not necessarily significant (it can come from the eeprom). I have

Re: high latency with TCP connections

2006-08-31 Thread Ian McDonald
The word performance in this list seems to always mean 'throughput'. It seems though that there could be some knob to tweak for those of us who don't care so much about throughput but care a great deal about latency. SCTP has been mentioned. There is also DCCP -

[GENL]: Provide more information to userspace about registered genl families

2006-08-31 Thread Thomas Graf
Additionaly exports the following information when providing the list of registered generic netlink families: - protocol version - header size - maximum number of attributes - list of available operations including - id - flags - avaiability of policy and doit/dumpit

Re: [PATCH 08/26] e1000: Deprecate mii-tool SIOCMIIREG ioctl

2006-08-31 Thread Auke Kok
Brandeburg, Jesse wrote: Jeff Garzik wrote: Kok, Auke wrote: Deprecate mii-tool SIOCMIIREG ioctl. This ioctl is broken in e1000 and ethtool has this functionality in working order. Signed-off-by: Jeff Kirsher [EMAIL PROTECTED] Signed-off-by: Auke Kok [EMAIL PROTECTED] This doesn't deprecated

[NET]: Fix typo causing wrong skb to be freed

2006-08-31 Thread Thomas Graf
A typo introduced by myself which leads to freeing the skb containing the netlink message when it should free the newly allocated skb for the reply. Signed-off-by: Thomas Graf [EMAIL PROTECTED] Index: net-2.6.19/net/core/rtnetlink.c

Re: [PATCH 00/26] e100, e1000, ixgb updates

2006-08-31 Thread Auke Kok
Jeff, I have adjusted several things in our queue after comments. Here is a summary of those changes against the original summary. These changes are available through git. Please pull: git pull git://lost.foo-projects.org/~ahkok/git/netdev-2.6 upstream (against netdev-2.6#upstream

Re: [PATCH 0/7] 8139cp: misc minor changes

2006-08-31 Thread Pierre Ossman
Ehm... why am I included in this? :) - 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

Re: [PATCH 00/26] e100, e1000, ixgb updates

2006-08-31 Thread Jeff Garzik
pulled into #upstream, 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.html

Re: NAPI: netif_rx_reschedule() ??

2006-08-31 Thread jamal
On Thu, 2006-31-08 at 14:29 -0700, Stephen Hemminger wrote: On Wed, 30 Aug 2006 16:39:14 -0700 Roland Dreier [EMAIL PROTECTED] wrote: Roland makes sense -- especially since the caller probably also Roland deducted N from *budget, and netif_rx_reschedule() doesn't Roland touch

Re: [PATCH] change somaxconn sysctl to __read_mostly

2006-08-31 Thread David Miller
From: Brian Haley [EMAIL PROTECTED] Date: Thu, 31 Aug 2006 16:35:33 -0400 Change sysctl_somaxconn to __read_mostly. Signed-off-by: Brian Haley [EMAIL PROTECTED] Applied. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] [XFRM] STATE: Fix flusing with hash mask.

2006-08-31 Thread David Miller
From: Masahide NAKAMURA [EMAIL PROTECTED] Date: Thu, 31 Aug 2006 21:00:17 +0900 This is a minor fix about transformation state flushing for net-2.6.19. Please apply it. Thank you for finding this bug. Patch applied. Masahide-san, please provide a Signed-off-by: line in the future, even for

Re: [IPV6] MIP6: Fix to update IP6CB when cloned skbuff is received at HAO.

2006-08-31 Thread David Miller
From: Masahide NAKAMURA [EMAIL PROTECTED] Date: Thu, 31 Aug 2006 21:05:41 +0900 From: YOSHIFUJI Hideaki [EMAIL PROTECTED] Date: Thu, 24 Aug 2006 00:02:24 +0900 In receiving Mobile IPv6 home address option which is a TLV carried by destination options header, kernel will try to mangle

Re: SNMPv2 ipFragFails counter error

2006-08-31 Thread David Miller
From: weidong [EMAIL PROTECTED] Date: Fri, 01 Sep 2006 10:39:35 -0400 Hi, All When I tested Linux kernel 2.6.17.7 about statistics ipFragFails,found that this counter couldn't increase correctly. The criteria is RFC2011: RFC2011 ipFragFails OBJECT-TYPE SYNTAX Counter32

Re: [PATCH] fix sk-sk_filter field access

2006-08-31 Thread David Miller
From: Dmitry Mishin [EMAIL PROTECTED] Date: Wed, 30 Aug 2006 17:07:14 +0400 Function sk_filter() is called from tcp_v{4,6}_rcv() functions with argue needlock = 0, while socket is not locked at that moment. In order to avoid this and similar issues in the future, use rcu for sk-sk_filter

[RFC] Wake-on-LAN flex filters

2006-08-31 Thread Mitch Williams
Most modern Ethernet hardware supports flexible filters for wake-on-LAN, probably because it's a requirement for certification with Another Operating System. This patch implements this feature on e1000 via Ethtool. The kernel portion of this code is fairly well polished, but the changes to the

Re: high latency with TCP connections

2006-08-31 Thread Alexey Kuznetsov
Hello! 2) a way to take delayed ACKs into account for cwnd growth This part is OK now, right? 1) protection against ACK division But Linux never had this problem... Congestion window was increased only when a whole skb is ACKed, flag FLAG_DATA_ACKED. (TSO could break this, but should not).

Re: [RFC] Enable/Disable VLAN HW filters

2006-08-31 Thread Ben Greear
Mitch Williams wrote: We've had a few internal requests for a way to enable and disable the hardware VLAN filter at runtime. I'm posting it here for discussion and to see if anybody else is interested in this feature. Originally I had planned to do this as an Ethtool ioctl, but decided instead

LRO fix needed

2006-08-31 Thread David Miller
Ananda, Herbert Xu recently found a problem in the TCP stack input path for LRO capable receive paths. The issue is that the receive MSS estimator in tcp_measure_rcv_mss() uses skb-len for the MSS estimation. This is wrong for LRO frames. Herbert noticed this using Xen which pused TSO frames

Re: LRO fix needed

2006-08-31 Thread Herbert Xu
On Thu, Aug 31, 2006 at 04:42:27PM -0700, David Miller wrote: So could you please make the S2io driver LRO path set skb_shared_info(skb)-gso_size appropriately? Probably the easiest is to use the length of the first frag of a multiple frag LRO sequence. It might be better to set it to the

Re: NAPI: netif_rx_reschedule() ??

2006-08-31 Thread Alexey Kuznetsov
Hello! However I'm confused about a couple of things, and there are only two uses of netif_rx_reschedule() in the kernel, so I'm a little stuck. First, do not believe to even single bit of code or docs about netif_rx_reschedule(). It was used once in the first version of NAPI for 3com driver

Re: high latency with TCP connections

2006-08-31 Thread David Miller
From: Alexey Kuznetsov [EMAIL PROTECTED] Date: Fri, 1 Sep 2006 03:29:23 +0400 2) a way to take delayed ACKs into account for cwnd growth This part is OK now, right? This part of ABC is not on by default, and was broken until last week :-) Test in tcp_slow_start() used to be:

Re: Unable to halt or reboot due to - unregister_netdevice: waiting for eth0.20 to become free. Usage count = 1

2006-08-31 Thread Ben Greear
Jesper Juhl wrote: Hi, I've got a small problem with 2.6.18-rc5-git2. I've got a vlan setup on eth0.20, eth0 does not have an IP. When I attempt to reboot or halt the machine I get the following message from the loop in net/core/dev.c::netdev_wait_allrefs() where it waits for the ref-count to

Re: Unable to halt or reboot due to - unregister_netdevice: waiting for eth0.20 to become free. Usage count = 1

2006-08-31 Thread Jesper Juhl
On 31/08/06, Ben Greear [EMAIL PROTECTED] wrote: Jesper Juhl wrote: Hi, I've got a small problem with 2.6.18-rc5-git2. I've got a vlan setup on eth0.20, eth0 does not have an IP. When I attempt to reboot or halt the machine I get the following message from the loop in

Re: [PATCH] rate limiting for socket allocation failure messages

2006-08-31 Thread David Miller
From: Akinobu Mita [EMAIL PROTECTED] Date: Thu, 31 Aug 2006 18:59:21 +0900 (Resending due to local mail server trouble) This patch limits the warning messages when socket allocation failures happen. It happens under memory pressure. Cc: David Miller [EMAIL PROTECTED] Signed-off-by:

Re: [IPSEC]: output mode to take an xfrm state as input param

2006-08-31 Thread David Miller
From: jamal [EMAIL PROTECTED] Date: Thu, 31 Aug 2006 20:29:36 -0400 On Thu, 2006-31-08 at 17:24 -0700, David Miller wrote: Are you too cool to give Signed-off-by: lines? :-) Dang. Just too brain congested to give you one ;- signed-off-by: Jamal Hadi Salim [EMAIL PROTECTED] Applied

[RFC][IPSEC]: tunnel mode processing

2006-08-31 Thread jamal
At the moment transport mode processing is not dependent on skb-dst being passed. Tunnel mode derives the ip-id and ttl from it. More like computes ip-id. I am trying to generate traffic via pktgen and it would be nice if i could get the same behavior on tunnel mode as in transport mode. I dont

Re: [PATCH] [XFRM] STATE: Fix flusing with hash mask.

2006-08-31 Thread Masahide NAKAMURA
David Miller wrote: Masahide-san, please provide a Signed-off-by: line in the future, even for simple changes like this one. OK, I'll :-) Regards, -- Masahide NAKAMURA - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: high latency with TCP connections

2006-08-31 Thread Stephen Hemminger
On Thu, 31 Aug 2006 16:57:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Alexey Kuznetsov [EMAIL PROTECTED] Date: Fri, 1 Sep 2006 03:29:23 +0400 2) a way to take delayed ACKs into account for cwnd growth This part is OK now, right? This part of ABC is not on by default,

Re: high latency with TCP connections

2006-08-31 Thread Ian McDonald
I'm ready to rip out ABC entirely, to be honest. Or at least turn it off by default. Turn it off for 2.6.18, by default then evaluate more for 2.6.19 If it goes out in 2.6.18 there could probably be a good argument for going into the stable tree as well... to stop the likes of the JVM type

Re: [PATCH 2/2]d80211: add hardware scan callback

2006-08-31 Thread Hong Liu
On Thu, 2006-08-31 at 01:10, Jiri Benc wrote: On Fri, 25 Aug 2006 16:32:13 +0800, Hong Liu wrote: Add hardware scan callback to support cards like ipw3945 which implements the scan command in firmware. How ipw3945 performs scan? From the patch, it looks like it switches channels (and

Re: [PATCH 1/2]d80211: fix wpa_supplicant reassoc problem

2006-08-31 Thread Hong Liu
On Thu, 2006-08-31 at 00:57, Jiri Benc wrote: On Fri, 25 Aug 2006 16:32:08 +0800, Hong Liu wrote: After key negotiation completed using wpa_supplicant, wpa_supplicant can't reassoc with the AP if we reboot the AP. It always fails at the 4-way handshake. The problem is the key info is not

Re: [RFC][IPSEC]: tunnel mode processing

2006-08-31 Thread Herbert Xu
On Thu, Aug 31, 2006 at 08:55:27PM -0400, jamal wrote: Would it be reasonable to do a check so that incase a skb-dst doesnt exist, the inner headers values can be used i.e something along xfrm4_tunnel_output():: If you didn't care what values they were, couldn't you just stuff some bogus

Re: LRO fix needed

2006-08-31 Thread Herbert Xu
On Fri, Sep 01, 2006 at 09:43:47AM +1000, herbert wrote: It might be better to set it to the biggest frag you see rather than the first. I've coded it up. BTW Ananda, what hardware assistance do your chips currently provide for LRO? What are the timeouts used before it gives up on

Re: [RFT] sky2: transmit complete alternative

2006-08-31 Thread Andrew Hall
On Thu, 31 Aug 2006 09:22:05 +1000 Andrew Hall [EMAIL PROTECTED] wrote: Has there been any updates on a fix for the sky2 tx timeout issues? I have been tracking this problem for a while and consistently see this issue when the interface is under heavy load. I'm using 2.6.17.11 but have

Re: [PATCH] d80211: use list_for_each_entry{,_safe}

2006-08-31 Thread Johannes Berg
On Wed, 2006-08-30 at 08:43 -0700, Jouni Malinen wrote: Could you please separate cleanup parts (list_for_each changes) from functional changes (adding locking) to make it easier to review the patch? Yeah, I guess I should do that. I would prefer not to hold spinlocks when calling

Re: Loop detected - calling function from different modules

2006-08-31 Thread Johannes Berg
On Wed, 2006-08-30 at 22:58 +0200, Frank Schneider wrote: and i need to do same in reverse way, i.e. call a function from wlan module that is implemented in ath_pci module. No, you don't. Period. Either wlan provides services to ath_pci, or they should be one module. Besides, why don't you

Re: [patch 5/5] d80211: add ioctl to stop data frame tx

2006-08-31 Thread Johannes Berg
On Wed, 2006-08-30 at 09:01 -0700, Jouni Malinen wrote: Well, it would be nice to get these in quite soon. I know that the current mechanism works since it has been used for years, but if the netlink-based solution is considered stable and working and unlikely to require major changes soon, I

Re: [PATCH] Fix dm9000 release_resource

2006-08-31 Thread Sascha Hauer
On Wed, Aug 30, 2006 at 09:04:45AM +0200, Dirk Opfer wrote: dm9000_release_board calls release_resource with the platform resource instead of the requested resource: db-addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); db-addr_req = request_mem_region(db-addr_res-start, i,

Re: [PATCH] IP1000A: IC Plus update 2006-08-22

2006-08-31 Thread Jesse Huang
-management.txt The previous branch for the driver at git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git has been stored as 'netdev-ipg-20060831.old'. The current one is based on dc709bd and named 'ipg'. Nothing will be pushed tomorrow as I have some bugs to review in different drivers

Re: [PATCH] Fix dm9000 release_resource

2006-08-31 Thread Ben Dooks
On Wed, Aug 30, 2006 at 09:04:45AM +0200, Dirk Opfer wrote: dm9000_release_board calls release_resource with the platform resource instead of the requested resource: db-addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); db-addr_req = request_mem_region(db-addr_res-start, i,

Re: Loop detected - calling function from different modules

2006-08-31 Thread Frank Schneider
Dear Johannes, To port ath_pci to wlan(d80211) module and make it “one” module – might be a possible solution. But you know, ath_pci has some dependency and some binary crap(HAL) More over, I need only an signal (e.g. by calling a funciton) in the ath_pci module when a data frame is sending

Re: Loop detected - calling function from different modules

2006-08-31 Thread Johannes Berg
Frank, Any suggestions to do that please ? d80211 has a hardware definition struct that is registered by the driver and contains a callback that is called for each frame. This is the direction you should take as well: hard_start_xmit (generic code) calls hardware_xmit (your module code,

SNMPv2 ipFragFails counter error

2006-08-31 Thread weidong
Hi, All When I tested Linux kernel 2.6.17.7 about statistics ipFragFails,found that this counter couldn't increase correctly. The criteria is RFC2011: RFC2011 ipFragFails OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS read-only STATUS current DESCRIPTION The

[PATCH] rate limiting for socket allocation failure messages

2006-08-31 Thread Akinobu Mita
(Resending due to local mail server trouble) This patch limits the warning messages when socket allocation failures happen. It happens under memory pressure. Cc: David Miller [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] net/socket.c |3 ++- 1 file changed, 2

[IPV6] MIP6: Fix to update IP6CB when cloned skbuff is received at HAO. (Re: [PATCH 23/44] [IPV6]: Allow to replace skbuff by TLV parser.)

2006-08-31 Thread Masahide NAKAMURA
From: YOSHIFUJI Hideaki [EMAIL PROTECTED] Date: Thu, 24 Aug 2006 00:02:24 +0900 In receiving Mobile IPv6 home address option which is a TLV carried by destination options header, kernel will try to mangle source adderss of packet. Think of cloned skbuff it is required to replace it by

dropping [EMAIL PROTECTED]

2006-08-31 Thread Johannes Berg
As there were no real objections, I will be dropping this list shortly. No real traffic here anyway. Please use netdev until (if ever) we have a wireless-specific list. johannes - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 2.6.18] WE-21 for bcm43xx (wireless-2.6 git)

2006-08-31 Thread Johannes Berg
Jean, This is the version of the patch for out-of-tree, I guess you will need it. Not tested. We don't, neither softmac nor bcm43xx is maintained out-of-tree any more. johannes - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL

[TCP]: Fix rcv mss estimate for LRO

2006-08-31 Thread Herbert Xu
Hi Dave: The Xen performance problem turned out to be something else altogether. It was an incorrect rcv mss estimate which leads to delayed acks. So it's not a bug in Linux yet :) However, since we need this for LRO as well, here's a patch for net-2.6.19. [TCP]: Fix rcv mss estimate for LRO

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-08-31 Thread Johannes Berg
On Tue, 2006-08-29 at 17:56 -0700, Jean Tourrilhes wrote: o modulation o long/short retry o relative power saving. I strongly disagree to these. What's the point of adding more ioctls that we'll be implementing them as wrappers around nl80211? Right

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-08-31 Thread Jouni Malinen
On Thu, Aug 31, 2006 at 03:32:18PM +0200, Johannes Berg wrote: On Tue, 2006-08-29 at 17:56 -0700, Jean Tourrilhes wrote: o modulation o long/short retry o relative power saving. What's the point of adding more ioctls that we'll be implementing them as

Re: [PATCH 2.6.18] WE-21 support (core API)

2006-08-31 Thread Johannes Berg
On Thu, 2006-08-31 at 06:51 -0700, Jouni Malinen wrote: I don't know about the others, but long/short retry limits have users (e.g., Host AP driver) and these drivers are currently forced to use a hack to do this without this cleanup. Furthermore, this part does not add a new ioctl. It does,

[PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver

2006-08-31 Thread Amit S. Kale
Hi All, Thank you Stephen, Don and Wendy. We have incorporated feedbacks which have received since after last post. I'll be resending updated patchset in subsequent emails. We are working on finding out good way of using tables to manage compatibility between firmware version number and

[PATCH 2.6.17 1/9] NetXen: Makefile and driver main file

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/MAINTAINERS linux-2.6.17/MAINTAINERS --- linux-2.6.17.orig/MAINTAINERS 2006-08-30 06:51:57.0 -0700 +++ linux-2.6.17/MAINTAINERS2006-08-30 06:56:27.0 -0700 @@ -1987,6 +1987,13 @@ L:

RE: [PATCH 0/3] secid reconciliation-v01: Repost patchset with up dates

2006-08-31 Thread Venkat Yekkirala
My main concern with these patches is that moving the NetLabel check out of selinux_socket_sock_rcv_skb() and into selinux_skb_policy_check() (as it is currently written) would force us to compare a packet's NetLabel with either the IPsec label or the secmark label Yes you would do these

[PATCH 2.6.17 2/9] NetXen: Hardware access routines

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hw.c linux-2.6.17/drivers/net/netxen/netxen_nic_hw.c --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_hw.c1969-12-31 16:00:00.0 -0800 +++

[PATCH 2.6.17 3/9] NetXen: hw initialization routines

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_init.c linux-2.6.17/drivers/net/netxen/netxen_nic_init.c --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_init.c 1969-12-31 16:00:00.0 -0800 +++

[PATCH 2.6.17 4/9] NetXen: intr routines and niu handling

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_isr.c linux-2.6.17/drivers/net/netxen/netxen_nic_isr.c --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_isr.c 1969-12-31 16:00:00.0 -0800 +++

[PATCH 2.6.17 5/9] NetXen: ethtool interface

2006-08-31 Thread Amit S. Kale
diff -Narup -X linux-2.6.17.orig/Documentation/dontdiff linux-2.6.17.orig/drivers/net/netxen/netxen_nic_ethtool.c linux-2.6.17/drivers/net/netxen/netxen_nic_ethtool.c --- linux-2.6.17.orig/drivers/net/netxen/netxen_nic_ethtool.c 1969-12-31 16:00:00.0 -0800 +++