Re: Linux UDP Implementation

2006-09-01 Thread Gary Chan
Dear Rick, Thank you for your reply. I am sorry that I don't quite understand your point. As far as I know, the function call udp_flush_pending_frames() in net/ipv4/udp.c is invoked regardless of whether the socket is set to either a blocking mode or a non-blocking mode. Do you mean that the

Re: TCP send/ack lockstep problem

2006-09-01 Thread Stephen Hemminger
Matthias Urlichs wrote: Hi, Herbert Xu: Matthias Urlichs <[EMAIL PROTECTED]> wrote: Any ideas? Is the sending program doing something stupid? If so, what? Probably. Since you're on the sender's side (192.109.x.x I presume) why don't you do a strace on the sending process and t

Re: TCP send/ack lockstep problem

2006-09-01 Thread Herbert Xu
Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > The stuff I see in there doesn't look stupid to me. > > accept(...) = 216 > setsockopt(216, SOL_IP, IP_TOS, [8], 4) = 0 > setsockopt(216, SOL_TCP, TCP_NODELAY, [1], 4) = 0 > setsockopt(216, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 > followed by a bunch

Re: TCP send/ack lockstep problem

2006-09-01 Thread Matthias Urlichs
Hi, Herbert Xu: > Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > > > Any ideas? Is the sending program doing something stupid? If so, what? > > Probably. Since you're on the sender's side (192.109.x.x I presume) why > don't you do a strace on the sending process and tell us? > The stuff I see

Re: e1000 Detected Tx Unit Hang

2006-09-01 Thread Auke Kok
Paul Aviles wrote: I am getting "e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang" using stock 2.6.17.11, 2.6.17.5 or 2.6.17.4 kernels on centos 4.3. The server is a Tyan GS10 and is connected to a Netgear GS724T Gig switch. I can easily reproduce the problem by trying to do a large ftp

Re: TCP send/ack lockstep problem

2006-09-01 Thread Herbert Xu
Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > Any ideas? Is the sending program doing something stupid? If so, what? Probably. Since you're on the sender's side (192.109.x.x I presume) why don't you do a strace on the sending process and tell us? Cheers, -- Visit Openswan at http://www.opens

Re: icmp echo reply and DF

2006-09-01 Thread Herbert Xu
Marco Berizzi <[EMAIL PROTECTED]> wrote: > I kindly would like to know why linux reply to ICMP > echo request packets with the DF bit set always to 0. We do that because that's the only sensible thing to do if you actually want ICMP messages to reach the destination host. PMTU on ICMP does not ma

Re: i not find in the kernel code the code of this command

2006-09-01 Thread Franco
thanks for your response! Yes, The code is under net/sched in the source tree. The file act_police.c in the directoy net/sched don't exist. there is police.c that have a very similar code act_police.c (that i have found on internet) however i have doon 'make menuconfig', i have gone to traffic

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

2006-09-01 Thread Michael Buesch
On Saturday 02 September 2006 00:10, Jean Tourrilhes wrote: > On Fri, Sep 01, 2006 at 08:55:48PM +0200, Michael Buesch wrote: > > > > > Note that one thing that worry me with your approach is > > > footprint. I've used various embedded devices over the years, such as > > > the Gumstix (4MB Flash

Re: i not find in the kernel code the code of this command

2006-09-01 Thread Ian McDonald
On 9/2/06, Franco <[EMAIL PROTECTED]> wrote: I thought that this code was police.c but seem that it isn't i must implement a proc file in the code and recompiling the kernel. I'm not sure I understand your question. Please tell me if I answer wrong! The code is under net/sched in the source tr

[PATCH 1/5] skge: use netdev_alloc_skb

2006-09-01 Thread Stephen Hemminger
Change to use new netdev_alloc_skb interface for 2.6.18. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -818,8 +818,9 @@ static void skge_rx_clean(struct skge_po /* Allocate buffers for receive ring * For receive: t

[PATCH 2/5] skge: irq lock race

2006-09-01 Thread Stephen Hemminger
The driver needs to access the IRQ status inside of lock to avoid races with other places changing IRQ mask etc. This may be related to some of the SMP bugs reported against skge in kernel bugzilla. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- netdev-2.6.orig/drivers/net/skge.c +++ ne

[PATCH 3/5] skge: use NAPI for transmit complete

2006-09-01 Thread Stephen Hemminger
The skge driver has much better performance if transmit done is handled in NAPI softirq. Change from doing transmit locking in driver (LLTX) and use device lock. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- netdev-2.6.orig/drivers/net/skge.c +++ netdev-2.6/drivers/net/skge.c @@ -91,7

[PATCH 4/5] skge: version 1.8

2006-09-01 Thread Stephen Hemminger
Because of the NAPI and other SMP fixes, let's call this a version. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -43,7 +43,7 @@ #include "skge.h" #define DRV_NAME "skge" -#define DRV_VERSION

[PATCH 5/5] skge: pci_post bugs

2006-09-01 Thread Stephen Hemminger
There are several places where this driver needs to ensure that PCI accesses have completed before releasing locks. These maybe related to the problem (not verified): http://bugzilla.kernel.org/show_bug.cgi?id=6142 Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- netdev-2.6.orig

[PATCH 0/5] skge update

2006-09-01 Thread Stephen Hemminger
This set fixes several races and performance problems related to bug reports. -- VGER BF report: H 0.437515 - 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

[PATCH]: ethtool: typo fix for e1000

2006-09-01 Thread Auke Kok
e1000: Typo fix. Signed-off-by: Auke Kok <[EMAIL PROTECTED]> diff --git a/e1000.c b/e1000.c index 6de27ca..6741323 100644 --- a/e1000.c +++ b/e1000.c @@ -372,7 +372,7 @@ e1000_dump_regs(struct ethtool_drvinfo * " Descriptor minimum threshold size: %s\n" " Broadcast accept mode:

[RFC] sky2: fragmented DMA

2006-09-01 Thread Stephen Hemminger
I modified the sky2 driver to do fragmented receive for large MTU. The hardware supports breaking receive into chunks, so this version allocates some header space in the skb data up to two pages (assuming 4K page size) for the extra data. It doesn't go into fragmented mode until it thinks the allo

Re: [PATCH 0/7] bonding: Miscellaneous small fixes

2006-09-01 Thread Jeff Garzik
Jay Vosburgh wrote: Patch 1: Add 10 Gig support Patch 2: Convert delay value from s16 to int Patch 3: Format fix in seq_printf call Patch 4: Remove unneeded NULL test Patch 5: Handle large hard_header_len Patch 6: Add priv_flag to avoid event mishan

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

2006-09-01 Thread Ulrich Kunitz
On 06-09-01 20:55 Michael Buesch wrote: > > > The real > > > problem with WE is, as I previously said, the ill-defined semantics of > > > both the user-space API and the in-kernel API. > > > > I don't understand why you say it's ill defined, it 100% > > documented in the iwconfig man page. >

TCP send/ack lockstep problem

2006-09-01 Thread Matthias Urlichs
Hello, I have a problem with a TCP connection here which just doesn't want to have multiple packets on the wire. I have verified that the sender has enough buffered data (netstat -t shows 8..10k send buffer). There's no packet loss. The tcpdump (attached) shows that the receiver increases its win

[PATCH 7/7] bonding: Don't release slaves when master is admin down

2006-09-01 Thread Jay Vosburgh
From: jamal <[EMAIL PROTECTED]> When a bonding netdevice is admin-ed down it loses the slaves attributes (set via ifenslave). This is not consistent with other behavior of netdevices (example a qdisc attached to a netdevice doesnt disappear or an attached IP address etc). The included patch fixes

[PATCH 6/7] bonding: Add priv_flag to avoid event mishandling

2006-09-01 Thread Jay Vosburgh
Add priv_flag to specifically identify bonding-involved devices. Needed because IFF_MASTER is an unreliable identifier (vlan interfaces above bonding will inherit IFF_MASTER). Misidentification of devices would cause notifier events for other devices to be erroneously processed by bonding, causi

[PATCH 5/7] bonding: Handle large hard_header_len

2006-09-01 Thread Jay Vosburgh
The bonding driver fails to adjust its hard_header_len when enslaving interfaces. Whenever an interface with a hard_header_len greater than the ETH_HLEN default is enslaved, the potential for an oops exists, and if the oops happens while responding to an arp request, for example, the system panic

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

2006-09-01 Thread Jean Tourrilhes
On Fri, Sep 01, 2006 at 08:55:48PM +0200, Michael Buesch wrote: > > > Note that one thing that worry me with your approach is > > footprint. I've used various embedded devices over the years, such as > > the Gumstix (4MB Flash), and this is why WE was optimised for > > footprint. > > Can you

[PATCH 4/7] bonding: Remove unneeded NULL test

2006-09-01 Thread Jay Vosburgh
Remove unneeded test for NULL. Reported by Thomas Dillig <[EMAIL PROTECTED]> and Isil Dillig <[EMAIL PROTECTED]> via Stephen Hemminger <[EMAIL PROTECTED]>. Signed-off-by: Jay Vosburgh <[EMAIL PROTECTED]> --- netdev-2.6.git-upstream/drivers/net/bonding/bond_sysfs.c2006/08/19 10:22:17 1

[PATCH 3/7] bonding: Format fix in seq_printf call

2006-09-01 Thread Jay Vosburgh
From: Kenzo Iwami <[EMAIL PROTECTED]> Though link_failure_count is type unsigned int, this value is outputted to /proc/net/bonding/bondX file using "%d" instead of "%u". The attached patch fixes this problem. Signed-off-by: Kenzo Iwami <[EMAIL PROTECTED]> Acked-by: Jay Vosburgh <[EMAIL PROTECTE

[PATCH 2/7] bonding: Convert delay value from s16 to int

2006-09-01 Thread Jay Vosburgh
From: Kenzo Iwami <[EMAIL PROTECTED]> The value of "downdelay/miimon" and "updelay/miimon" are stored in slave->delay. The type of downdelay, updelay, and miimon are all int. However, slave->delay is type short, and it is not possible to store the value of "downdelay/miimon" or "updelay/miimon" i

[PATCH 1/7] bonding: Add 10 Gig support

2006-09-01 Thread Jay Vosburgh
Allow channel bonding to enslave a 10 Gig adapter without errors. Signed-off-by: Mitch Williams <[EMAIL PROTECTED]> Acked-by: Jay Vosburgh <[EMAIL PROTECTED]> diff -urpN -X linux-2.6.18-rc4-clean/Documentation/dontdiff linux-2.6.18-rc4-clean/drivers/net/bonding/bond_3ad.c linux-2.6.18-rc4/dri

[PATCH 0/7] bonding: Miscellaneous small fixes

2006-09-01 Thread Jay Vosburgh
Patch 1: Add 10 Gig support Patch 2: Convert delay value from s16 to int Patch 3: Format fix in seq_printf call Patch 4: Remove unneeded NULL test Patch 5: Handle large hard_header_len Patch 6: Add priv_flag to avoid event mishandling Patch 7

[PATCH] sky2: more pci device id's

2006-09-01 Thread Stephen Hemminger
Some more Marvell device id's, these are from the latest SysKonnect vendor driver version of sk98lin (8.36). Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- drivers/net/sky2.c |3 +++ 1 file changed, 3 insertions(+) --- sky2.orig/drivers/net/sky2.c2006-09-01 14:49:49.00

[PATCH 6/8] address: Convert address dumping to new netlink api

2006-09-01 Thread Thomas Graf
Replaces INET6_IFADDR_RTA_SPACE with a new function calculating the total required message size for all address messages. Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/ne

[PATCH 4/8] address: Add put_cacheinfo() to dump struct cacheinfo

2006-09-01 Thread Thomas Graf
Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:15:19.0 +0200 +++ net-2.6.19/net/ipv6/addrconf.c 2006-09-01 23:15:21.0

[PATCH 8/8] address: Support NLM_F_EXCL when adding addresses

2006-09-01 Thread Thomas Graf
iproute2 doesn't provide the NLM_F_CREATE flag when adding addresses, it is assumed to be implied. The existing code issues a check on said flag when the modify operation fails (likely due to ENOENT) before continueing to create it, this leads to a hard to predict result, therefore the NLM_F_CREATE

[PATCH 7/8] address: Allow address changes while device is administrative down

2006-09-01 Thread Thomas Graf
Same behaviour as IPv4, using IFF_UP is a no-no anyway. Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:15:24.0 +0200 +++ net-2.6.

[PATCH 5/8] address: Add put_ifaddrmsg() and rt_scope()

2006-09-01 Thread Thomas Graf
Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:15:21.0 +0200 +++ net-2.6.19/net/ipv6/addrconf.c 2006-09-01 23:15:22.0

[PATCH 1/8] address: Convert address addition to new netlink api

2006-09-01 Thread Thomas Graf
Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:14:47.0 +0200 +++ net-2.6.19/net/ipv6/addrconf.c 2006-09-01 23:15:14.0

[PATCH 3/8] address: Convert address lookup to new netlink api

2006-09-01 Thread Thomas Graf
Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:15:18.0 +0200 +++ net-2.6.19/net/ipv6/addrconf.c 2006-09-01 23:15:19.0

[PATCH 2/8] address: Convert address deletion to new netlink api

2006-09-01 Thread Thomas Graf
Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6.19/net/ipv6/addrconf.c === --- net-2.6.19.orig/net/ipv6/addrconf.c 2006-09-01 23:15:14.0 +0200 +++ net-2.6.19/net/ipv6/addrconf.c 2006-09-01 23:15:18.0

[PATCHSET] IPv6 address configuration conversions

2006-09-01 Thread Thomas Graf
Converts all of the IPv6 address configuration code to the new netlink api and removes a bogus check on IFF_UP when adding new addresses. -- VGER BF report: U 0.467674 - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo

[PATCH] tcp: turn ABC off

2006-09-01 Thread Stephen Hemminger
Turn Appropriate Byte Count off by default because it unfairly penalizes applications that do small writes. Add better documentation to describe what it is so users will understand why they might want to turn it on. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- Documentation/networki

Re: [PATCH] zd1211rw: Removed unneeded packed attributes

2006-09-01 Thread Ulrich Kunitz
On 06-08-30 15:06 Michael Buesch wrote: > Because this clearly is a workaround for broken compilers to me, > I would rather do the following: > > +} /* __attribute__((packed)) */; > > > This way it's still clear to the reader, that these structs > must be packed and are most likely for communic

Re: [RFC] Patch to add board revision to the WLAN chip_id printout

2006-09-01 Thread Michael Buesch
On Friday 01 September 2006 17:28, Larry Finger wrote: > Michael, > > This patch includes the board revision in the chip_id printk for the ssb > version of bcm43xx-d80211 > and is meant to be applied to wireless-dev. As we have seen, behavior of the > chips can be dependent > on the rev level,

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

2006-09-01 Thread Michael Buesch
On Friday 01 September 2006 18:35, Jean Tourrilhes wrote: > On Fri, Sep 01, 2006 at 08:54:00AM +0200, Johannes Berg wrote: > > On Thu, 2006-08-31 at 10:12 -0700, Jean Tourrilhes wrote: > > > > > And I strongly disagree with your disagrement ;-) > > > > You're of course free to do that :) But le

[IPV6]: Fix tclass setting for raw sockets.

2006-09-01 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. Following patch is for linux-2.6. I think it is appropriate to push this to -stable. --- [IPV6]: Fix tclass setting for raw sockets. np->cork.tclass is used only in cork'ed context. Otherwise, np->tclass should be used. Bug#7096 reported by Remi Denis-Courmont <[EMAIL PROTECTED]>. Sign

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

2006-09-01 Thread Pradeep Dalvi
Hi, This entire patch is available at, http://www.netxen.com/products/downloads/netxen-2.6.17.patch.zip Thanks, pradeep On Thu, 31 Aug 2006, Amit S. Kale wrote: Hi All, Thank you Stephen, Don and Wendy. We have incorporated feedbacks which have received since after last post. I'll be resend

Re: [PATCH] change netfilter tunables to __read_mostly

2006-09-01 Thread Brian Haley
Patrick McHardy wrote: Patrick McHardy wrote: Brian Haley wrote: Change some netfilter tunables to __read_mostly. Also fixed some incorrect file reference comments while I was in there. Please send these kind of patches for netfilter to me so I can make sure they don't clash with other pend

Re: [PATCH] change netfilter tunables to __read_mostly

2006-09-01 Thread Patrick McHardy
Patrick McHardy wrote: > Brian Haley wrote: > >>Change some netfilter tunables to __read_mostly. Also fixed some >>incorrect file reference comments while I was in there. > > > Please send these kind of patches for netfilter to me so I can > make sure they don't clash with other pending patches

Re: [PATCH] change netfilter tunables to __read_mostly

2006-09-01 Thread Patrick McHardy
Brian Haley wrote: > Change some netfilter tunables to __read_mostly. Also fixed some > incorrect file reference comments while I was in there. Please send these kind of patches for netfilter to me so I can make sure they don't clash with other pending patches. > (this will be my last __read_mos

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

2006-09-01 Thread Jean Tourrilhes
On Fri, Sep 01, 2006 at 08:54:00AM +0200, Johannes Berg wrote: > On Thu, 2006-08-31 at 10:12 -0700, Jean Tourrilhes wrote: > > > And I strongly disagree with your disagrement ;-) > > You're of course free to do that :) But let me explain. And my explanation is even more simple : let'

Re: [RFC PATCH] EtherIP tunnel driver (RFC 3387)

2006-09-01 Thread Patrick McHardy
Joerg Roedel wrote: > diff -uprN linux-2.6.17.11-vanilla/net/ipv4/etherip.c > linux-2.6.17.11/net/ipv4/etherip.c > --- linux-2.6.17.11-vanilla/net/ipv4/etherip.c1970-01-01 > 01:00:00.0 +0100 > +++ linux-2.6.17.11/net/ipv4/etherip.c2006-09-01 16:22:54.0 > +0200 >

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

2006-09-01 Thread cagri coltekin
On Fri, Sep 01, 2006 at 05:05:57PM +1000, Herbert Xu wrote: > On Thu, Aug 31, 2006 at 05:12:43PM +0200, cagri coltekin wrote: > > > > 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: > > > > ---

[PATCH] change sctp globals to __read_mostly

2006-09-01 Thread Brian Haley
Change sctp globals to __read_mostly. Signed-off-by: Brian Haley <[EMAIL PROTECTED]> diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 5692ef5..d9dd4c4 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -61,7 +61,7 @@ #include /* Global data structures. */ -struct sctp_

[PATCH] change bridge sysctl tunables to __read_mostly

2006-09-01 Thread Brian Haley
Change some bridge sysctl tunables to __read_mostly. Signed-off-by: Brian Haley <[EMAIL PROTECTED]> diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index cf80dd0..ac181be 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -53,10 +53,10 @@ #ifdef CONFIG

[PATCH] change netfilter tunables to __read_mostly

2006-09-01 Thread Brian Haley
Change some netfilter tunables to __read_mostly. Also fixed some incorrect file reference comments while I was in there. (this will be my last __read_mostly patch unless someone points out something else that needs it) Signed-off-by: Brian Haley <[EMAIL PROTECTED]> diff --git a/net/netfilter

[RFC] Patch to add board revision to the WLAN chip_id printout

2006-09-01 Thread Larry Finger
Michael, This patch includes the board revision in the chip_id printk for the ssb version of bcm43xx-d80211 and is meant to be applied to wireless-dev. As we have seen, behavior of the chips can be dependent on the rev level, thus a need to have it in the log. Signed-off-by: Larry Finger <[EM

[RFC PATCH] EtherIP tunnel driver (RFC 3387)

2006-09-01 Thread Joerg Roedel
Greetings, Upon request of a BSD user I wrote an EtherIP tunnel driver for the Linux Kernel. With this driver it is possible to tunnel Ethernet packets over IPv4 networks using the EtherIP protocol defined in RFC 3378. This RFC defines the EtherIP header to be a 16 bit field with the first 4 bit

icmp echo reply and DF

2006-09-01 Thread Marco Berizzi
I kindly would like to know why linux reply to ICMP echo request packets with the DF bit set always to 0. I have googled the internet but I have only found this pretty old message: http://www.ussg.iu.edu/hypermail/linux/kernel/9804.2/0334.html I also have found these messages that document this

i not find in the kernel code the code of this command

2006-09-01 Thread Franco
Hi!, I'm not able to subscrive at this list. My server mail don't send the mail and consider it a spam mail... For this, please send eventual response to this mail address ([EMAIL PROTECTED]) The problem is this: I'm searching, in kernel code, the code that implement thi command: tc filter ad

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

2006-09-01 Thread jamal
On Fri, 2006-01-09 at 23:04 +1000, Herbert Xu wrote: > Yes, I suppose you could even replace x->mode directly. > > > I am probably better off going back to creating a dummy dst with just > > those two fields when in tunnel mode;-> > > Probably. Although if you write your own output function you

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

2006-09-01 Thread Herbert Xu
On Fri, Sep 01, 2006 at 08:56:18AM -0400, jamal wrote: > > Thats one idea i havent thought of. > > i.e the code would look like: > - > if (mode == tunnel) > err = mytunneloutput (x, skb); > else > err = x->mode->output(x, skb); > if (err) >

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

2006-09-01 Thread jamal
On Fri, 2006-01-09 at 14:25 +0200, Johannes Berg wrote: > On Fri, 2006-09-01 at 08:22 -0400, jamal wrote: > > > Sorry, I havent had time to look at that code (is it in Daves tree?); > > No, it's not in any tree yet. > Could you point me to it? I can look at it over the weekend. > > if > > i

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

2006-09-01 Thread jamal
On Fri, 2006-01-09 at 22:22 +1000, Herbert Xu wrote: > Right, you're testing the receiver side. both in/out sides (on the receiver); i just count and drop all packets coming back to the sender (the pktgenerator) > In that case I suggest that > you replicate the IPsec transport mode logic in th

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

2006-09-01 Thread Johannes Berg
On Fri, 2006-09-01 at 08:22 -0400, jamal wrote: > Seems you may be talking about capabilities more than filtering? yes, I had sort of thought filtering would be that, but now that you say it I get the point :) > Sorry, I havent had time to look at that code (is it in Daves tree?); No, it's not

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

2006-09-01 Thread Herbert Xu
On Fri, Sep 01, 2006 at 08:17:14AM -0400, jamal wrote: > > In the case of traffic generation, if i could shave even more cycles the > better since i want to generate high speed. In this case the cycles > would be in creating a fake dst and attaching it some fake values. Right, you're testing the

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

2006-09-01 Thread jamal
On Fri, 2006-01-09 at 14:07 +1000, Herbert Xu wrote: > 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 d

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

2006-09-01 Thread Jesper Juhl
On 01/09/06, Jesper Juhl <[EMAIL PROTECTED]> wrote: On 01/09/06, Herbert Xu <[EMAIL PROTECTED]> wrote: > Jesper Juhl <[EMAIL PROTECTED]> wrote: > > > > I've just encountered the problem on a different server with an > > identical vlan setup. That server is running 2.6.13.4 > > Do you have a simpl

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

2006-09-01 Thread Pierre Ossman
Francois Romieu wrote: > Pierre Ossman <[EMAIL PROTECTED]> : > >> Ehm... why am I included in this? :) >> > > To preserve an happy 8139cp user :o) > > A noble endeavor. Carry on. ;) - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL P

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

2006-09-01 Thread Francois Romieu
Pierre Ossman <[EMAIL PROTECTED]> : > Ehm... why am I included in this? :) To preserve an happy 8139cp user :o) -- Ueimor - 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-inf

Re: high latency with TCP connections

2006-09-01 Thread Evgeniy Polyakov
On Fri, Sep 01, 2006 at 01:47:15PM +0400, Alexey Kuznetsov ([EMAIL PROTECTED]) wrote: > Hello! > > > problem. The problem is really at the receiver because we only > > ACK every other full sized frame. I had the idea to ACK every 2 > > frames, regardless of size, > > This would solve lots of p

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

2006-09-01 Thread Jesper Juhl
On 01/09/06, Herbert Xu <[EMAIL PROTECTED]> wrote: Jesper Juhl <[EMAIL PROTECTED]> wrote: > > I've just encountered the problem on a different server with an > identical vlan setup. That server is running 2.6.13.4 Do you have a simple recipe to reproduce this? Ideally it'd be a script that anyon

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

2006-09-01 Thread Herbert Xu
Jesper Juhl <[EMAIL PROTECTED]> wrote: > > I've just encountered the problem on a different server with an > identical vlan setup. That server is running 2.6.13.4 Do you have a simple recipe to reproduce this? Ideally it'd be a script that anyone can execute in a freshly booted system that exhibit

[patch 3/4] Make sure ip_vs_ftp ports are valid

2006-09-01 Thread Horms
I'm not entirely sure what happens in the case of a valid port, at best it'll be silently ignored. This patch ignores them a little more verbosely. Signed-Off-By: Simon Horman <[EMAIL PROTECTED]> Index: linux-2.6/net/ipv4/ipvs/ip_vs_ftp.c ===

[patch 1/4] Document the ports option to ip_vs_ftp in kernel-parameters.txt

2006-09-01 Thread Horms
I'm not sure if documenting this here is appropriate, but if it is, here is some text to put there. Signed-Off-By: Simon Horman <[EMAIL PROTECTED]> Index: linux-2.6/Documentation/kernel-parameters.txt === --- linux-2.6.orig/Documentat

[patch 4/4] remove the debug option go ip_vs_ftp

2006-09-01 Thread Horms
This patch makes the debuging behaviour of this code more consistent with the rest of IPVS. Signed-Off-By: Simon Horman <[EMAIL PROTECTED]> Index: linux-2.6/net/ipv4/ipvs/ip_vs_ftp.c === --- linux-2.6.orig/net/ipv4/ipvs/ip_vs_ftp.c

[patch 2/4] auto-help for ip_vs_ftp

2006-09-01 Thread Horms
Fill in a help message for the ports option to ip_vs_ftp Signed-Off-By: Simon Horman <[EMAIL PROTECTED]> Index: linux-2.6/net/ipv4/ipvs/ip_vs_ftp.c === --- linux-2.6.orig/net/ipv4/ipvs/ip_vs_ftp.c2006-09-01 19:02:38.0 +09

[patch 0/4] ip_vs_ftp cleanups

2006-09-01 Thread Horms
Hi, This series of four patches has several minor cleanups for the options to the ip_vs_ftp modules. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] M

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

2006-09-01 Thread Jesper Juhl
On 31/08/06, Jesper Juhl <[EMAIL PROTECTED]> wrote: 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 t

Re: high latency with TCP connections

2006-09-01 Thread David Miller
From: Pekka Savola <[EMAIL PROTECTED]> Date: Fri, 1 Sep 2006 12:44:48 +0300 (EEST) > On Thu, 31 Aug 2006, David Miller wrote: > ... > >> Probably, aspect 1 of ABC just should be disabled. And the first my > >> suggestion looks working too. > > > > I'm ready to rip out ABC entirely, to be honest.

Re: high latency with TCP connections

2006-09-01 Thread Alexey Kuznetsov
Hello! > problem. The problem is really at the receiver because we only > ACK every other full sized frame. I had the idea to ACK every 2 > frames, regardless of size, This would solve lots of problems. >but that might have other problems. BSD used to do this, everyon

Re: high latency with TCP connections

2006-09-01 Thread Pekka Savola
On Thu, 31 Aug 2006, David Miller wrote: ... Probably, aspect 1 of ABC just should be disabled. And the first my suggestion looks working too. I'm ready to rip out ABC entirely, to be honest. Or at least turn it off by default. Just as a curious observer: do you think these issues are due t

Re: [PATCH] neigh_table_clear() doesn't free stats

2006-09-01 Thread David Miller
From: Kirill Korotaev <[EMAIL PROTECTED]> Date: Fri, 01 Sep 2006 12:28:56 +0400 > neigh_table_clear() doesn't free tbl->stats. > Found by Alexey Kuznetsov. Though Alexey considers this > leak minor for mainstream, I still believe that cleanup > code should not forget to free some of the resources

[PATCH] neigh_table_clear() doesn't free stats

2006-09-01 Thread Kirill Korotaev
neigh_table_clear() doesn't free tbl->stats. Found by Alexey Kuznetsov. Though Alexey considers this leak minor for mainstream, I still believe that cleanup code should not forget to free some of the resources :) At least, this is critical for OpenVZ with virtualized neighbour tables. Signed-Off

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

2006-09-01 Thread Hong Liu
On Fri, 2006-09-01 at 14:41, Johannes Berg wrote: > On Fri, 2006-09-01 at 11:37 +0800, Hong Liu wrote: > > > > + local->sta_scanning = 1; > > + if (local->hw->hw_scan) > > + return local->hw->hw_scan(dev, ssid, ssid_len); > > + > > My question still stands, is it proper to ass

Re: [PATCH] xfrm: remove xerr_idxp from __xfrm_policy_check()

2006-09-01 Thread David Miller
From: Masahide NAKAMURA <[EMAIL PROTECTED]> Date: Fri, 01 Sep 2006 16:15:39 +0900 > James Morris wrote: > > It seems that during the MIPv6 respin, some code which was originally > > conditionally compiled around CONFIG_XFRM_ADVANCED was accidently left in > > after the config option was removed.

Re: [PATCH] xfrm: remove xerr_idxp from __xfrm_policy_check()

2006-09-01 Thread Masahide NAKAMURA
James Morris wrote: It seems that during the MIPv6 respin, some code which was originally conditionally compiled around CONFIG_XFRM_ADVANCED was accidently left in after the config option was removed. This patch removes an extraneous pointer (xerr_idxp) which is no longer needed. Please re

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

2006-09-01 Thread Herbert Xu
On Thu, Aug 31, 2006 at 05:12:43PM +0200, cagri coltekin wrote: > > 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.768