| From | Subject | Date |
|---|---|---|
| Victor Gallardo | [PATCH] ibm_newemac: Add support for GPCS, SGMII and M88 ...
This patch adds GPCS, SGMII and M88E1112 PHY support
for the AMCC PPC460GT/EX processors.
Signed-off-by: Victor Gallardo <vgallardo@amcc.com>
---
drivers/net/ibm_newemac/core.c | 40 +++++++++++++++----
drivers/net/ibm_newemac/core.h | 3 +
drivers/net/ibm_newemac/phy.c | 84 ++++++++++++++++++++++++++++++++++++++++
drivers/net/ibm_newemac/phy.h | 2 +
4 files changed, 120 insertions(+), 9 deletions(-)
diff --git a/drivers/net/ibm_newemac/core.c ...
| Sep 5, 4:55 pm 2008 |
| Paul Moore | [RFC PATCH v5 03/14] selinux: Fix a problem in security_ ...
Currently when SELinux fails to allocate memory in
security_netlbl_sid_to_secattr() the NetLabel LSM domain field is set to
NULL which triggers the default NetLabel LSM domain mapping which may not
always be the desired mapping. This patch fixes this by returning an error
when the kernel is unable to allocate memory. This could result in more
failures on a system with heavy memory pressure but it is the "correct"
thing to do.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 05/14] smack: Fix missing calls to netlbl_ ...
Smack needs to call netlbl_skbuff_err() to let NetLabel do the necessary
protocol specific error handling.
Signed-off-by: Paul Moore <paul.moore@hp.com>
---
security/smack/smack_lsm.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 87d7541..6e2dc0b 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -2179,7 +2179,10 @@ static int smack_socket_sock_rcv_skb(struct sock *sk, ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 12/14] netlabel: Changes to the NetLabel s ...
This patch provides support for including the LSM's secid in addition to
the LSM's MLS information in the NetLabel security attributes structure.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
---
include/net/netlabel.h | 2 +-
security/selinux/ss/services.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index 074cad4..d56517a 100644
--- ...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 00/14] Labeled networking patches for 2.6.28
A new spin to fix problems pointed out by Andrew Mortion and Randy Dunlap
as well as some minor things found by James Morris during review. Thanks
to all three for the extra sets of eyes.
This patchset also has a slight change in it which involves moving the
SELinux packet parsing (to determine protocol, address, etc.) farther down
in the SELinux per-packet processing routines. This should help reduce
some wasted cycles, especially in the unconfigured case.
I've updated both my ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 10/14] selinux: Set socket NetLabel based ...
Previous work enabled the use of address based NetLabel selectors, which while
highly useful, brought the potential for additional per-packet overhead when
used. This patch attempts to solve that by applying NetLabel socket labels
when sockets are connect()'d. This should alleviate the per-packet NetLabel
labeling for all connected sockets (yes, it even works for connected DGRAM
sockets).
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
---
...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 13/14] cipso: Add support for native local ...
This patch accomplishes two minor tasks: add a new tag type for local
labeling and rename the CIPSO_V4_MAP_STD define to CIPSO_V4_MAP_TRANS. The
first change allows CIPSO to support full LSM labels/contexts, not just
MLS attributes. The second change brings the mapping names inline with
what userspace is using, compatibility is preserved since we don't actually
change the value.
Signed-off-by: Paul Moore <paul.moore@hp.com>
---
include/net/cipso_ipv4.h | 13 +++--
...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 04/14] selinux: Fix missing calls to netlb ...
At some point I think I messed up and dropped the calls to netlbl_skbuff_err()
which are necessary for CIPSO to send error notifications to remote systems.
This patch re-introduces the error handling calls into the SELinux code.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
---
include/net/netlabel.h | 6 ++++--
net/netlabel/netlabel_kapi.c | 5 +++--
security/selinux/hooks.c | 19 +++++++++++++++----
...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 01/14] netlabel: Remove unneeded in-kernel ...
After some discussions with the Smack folks, well just Casey, I now have a
better idea of what Smack wants out of NetLabel in the future so I think it
is now safe to do some API "pruning". If another LSM comes along that
needs this functionality we can always add it back in, but I don't see any
LSMs on the horizon which might make use of these functions.
Thanks to Rami Rosen who suggested removing netlbl_cfg_cipsov4_del() back
in February 2008.
Signed-off-by: Paul Moore ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 11/14] selinux: Cache NetLabel secattrs in ...
Previous work enabled the use of address based NetLabel selectors, which
while highly useful, brought the potential for additional per-packet overhead
when used. This patch attempts to mitigate some of that overhead by caching
the NetLabel security attribute struct within the SELinux socket security
structure. This should help eliminate the need to recreate the NetLabel
secattr structure for each packet resulting in less overhead.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James ...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 02/14] selinux: Better local/forward check ...
It turns out that checking to see if skb->sk is NULL is not a very good
indicator of a forwarded packet as some locally generated packets also have
skb->sk set to NULL. Fix this by not only checking the skb->sk field but also
the IP[6]CB(skb)->flags field for the IP[6]SKB_FORWARDED flag. While we are
at it, we are calling selinux_parse_skb() much earlier than we really should
resulting in potentially wasted cycles parsing packets for information we
might no use; so shuffle the code around a bit ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 09/14] netlabel: Add functionality to set ...
This patch builds upon the new NetLabel address selector functionality by
providing the NetLabel KAPI and CIPSO engine support needed to enable the
new packet-based labeling. The only new addition to the NetLabel KAPI at
this point is shown below:
* int netlbl_skbuff_setattr(skb, family, secattr)
... and is designed to be called from a Netfilter hook after the packet's
IP header has been populated such as in the FORWARD or LOCAL_OUT hooks.
This patch also provides the necessary SELinux ...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 06/14] netlabel: Replace protocol/NetLabel ...
NetLabel has always had a list of backpointers in the CIPSO DOI definition
structure which pointed to the NetLabel LSM domain mapping structures which
referenced the CIPSO DOI struct. The rationale for this was that when an
administrator removed a CIPSO DOI from the system all of the associated
NetLabel LSM domain mappings should be removed as well; a list of
backpointers made this a simple operation.
Unfortunately, while the backpointers did make the removal easier they were
a bit of a mess ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 14/14] netlabel: Add configuration support ...
Add the necessary NetLabel support for the new CIPSO mapping,
CIPSO_V4_MAP_LOCAL, which allows full LSM label/context support.
Signed-off-by: Paul Moore <paul.moore@hp.com>
---
include/net/netlabel.h | 3 ++-
net/netlabel/netlabel_cipso_v4.c | 41 ++++++++++++++++++++++++++++++++++++++
net/netlabel/netlabel_cipso_v4.h | 6 ++++--
net/netlabel/netlabel_kapi.c | 3 +++
4 files changed, 50 insertions(+), 3 deletions(-)
diff --git a/include/net/netlabel.h ...
| Sep 5, 4:24 pm 2008 |
| Paul Moore | [RFC PATCH v5 07/14] netlabel: Add a generic way to crea ...
Create an ordered IP address linked list mechanism similar to the core
kernel's linked list construct. The idea behind this list functionality
is to create an extensibile linked list ordered by IP address mask to
ease the matching of network addresses. The linked list is ordered with
larger address masks at the front of the list and shorter address masks
at the end to facilitate overriding network entries with individual host
or subnet entries.
Signed-off-by: Paul Moore ...
| Sep 5, 4:23 pm 2008 |
| Paul Moore | [RFC PATCH v5 08/14] netlabel: Add network address selec ...
This patch extends the NetLabel traffic labeling capabilities to individual
packets based not only on the LSM domain but the by the destination address
as well. The changes here only affect the core NetLabel infrastructre,
changes to the NetLabel KAPI and individial protocol engines are also
required but are split out into a different patch to ease review.
Signed-off-by: Paul Moore <paul.moore@hp.com>
---
include/net/netlabel.h | 7 -
net/netlabel/netlabel_addrlist.c | ...
| Sep 5, 4:24 pm 2008 |
| Roland Dreier | Re: [patch for 2.6.27? 4/6] drivers/net/mlx4/alloc.c nee ...
> drivers/net/mlx4/alloc.c:164: error: 'PAGE_KERNEL' undeclared (first use in this function)
> +#include <linux/mm.h>
Looks like a good fix to me.
- R.
--
| Sep 5, 4:44 pm 2008 |
| akpm | [patch for 2.6.27? 4/6] drivers/net/mlx4/alloc.c needs mm.h
From: Andrew Morton <akpm@linux-foundation.org>
sparc32 allmodconfig with linux-next:
drivers/net/mlx4/alloc.c: In function 'mlx4_buf_alloc':
drivers/net/mlx4/alloc.c:164: error: 'PAGE_KERNEL' undeclared (first use in this function)
drivers/net/mlx4/alloc.c:164: error: (Each undeclared identifier is reported only once
drivers/net/mlx4/alloc.c:164: error: for each function it appears in.)
this is due to some header shuffle in linux-next. I didn't look to see what
it was. I'd sugges that ...
| Sep 5, 2:04 pm 2008 |
| akpm | [patch for 2.6.27? 6/6] net: forcedeth: call restore mac ...
From: Yinghai Lu <yhlu.kernel@gmail.com>
after
| commit f735a2a1a4f2a0f5cd823ce323e82675990469e2
| Author: Tobias Diedrich <ranma+kernel@tdiedrich.de>
| Date: Sun May 18 15:02:37 2008 +0200
|
| [netdrvr] forcedeth: setup wake-on-lan before shutting down
|
| When hibernating in 'shutdown' mode, after saving the image the suspend hook
| is not called again.
| However, if the device is in promiscous mode, wake-on-lan will not work.
| This adds a shutdown hook to setup ...
| Sep 5, 2:04 pm 2008 |
| akpm | [patch for 2.6.27? 5/6] ne.c fix for hibernate and rmmod ...
From: David Fries <david@fries.net>
This ne2000 and the previous cr4 problem found when enabling suspend to
disk on my i486 with a PnP ISA NE2000 and Creative SB Live in the
trunk of my car. It is providing in car podcast entertainment. Must
be a unique setup.
Removing the module would cause a kernel oops as platform_driver_probe
failed to detect a device and unregistered the platform driver on module
init, and cleanup_module would unregister the already unregistered driver.
The suspend ...
| Sep 5, 2:04 pm 2008 |
| akpm | [patch for 2.6.27? 2/6] drivers/net/atl1e/: don't take t ...
From: Matthew Wilcox <matthew@wil.cx>
Lockdep warns about the mdio_lock taken with interrupts enabled then later
taken from interrupt context. Initially, I considered changing these to
spin_lock_irq/spin_unlock_irq, but then I looked at atl1e_phy_init() and
saw that it calls msleep(). Sleeping while holding a spinlock is not
allowed either.
In the probe path, we haven't registered the interrupt handler, so it
can't poke at this card yet. It's before we call register_netdev(), so I
don't ...
| Sep 5, 2:04 pm 2008 |
| akpm | [patch for 2.6.27? 1/6] drivers/net/skfp/pmf.c: Use offs ...
From: Takashi Iwai <tiwai@suse.de>
Self-baked macros cause bunch of compile warnings like below:
CC [M] drivers/net/skfp/pmf.o
CC net/ipv4/fib_semantics.o
drivers/net/skfp/pmf.c:86: warning: cast from pointer to integer of different size
drivers/net/skfp/pmf.c:87: warning: cast from pointer to integer of different size
...
Use the standard offsetof() macro instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Jeff Garzik ...
| Sep 5, 2:04 pm 2008 |
| akpm | [patch for 2.6.27? 3/6] e1000: prevent corruption of EEP ...
From: Christopher Li <chrisl@vmware.com>
Andrey reports e1000 corruption, and that a patch in vmware's ESX fixed
it.
The EEPROM corruption is triggered by concurrent access of the EEPROM
read/write. Putting a lock around it solve the problem.
[akpm@linux-foundation.org: use DEFINE_SPINLOCK to avoid confusing lockdep]
Signed-off-by: Christopher Li <chrisl@vmware.com>
Reported-by: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: Zach Amsden <zach@vmware.com>
Cc: Pratap Subrahmanyam ...
| Sep 5, 2:04 pm 2008 |
| Alexey Dobriyan | [PATCH -mm] Fix dev_load() compilation again
dev_load() doesn't exist if MODULES=n.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
include/linux/netdevice.h | 6 ++++++
1 file changed, 6 insertions(+)
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1639,7 +1639,13 @@ extern int dev_set_allmulti(struct net_device *dev, int inc);
extern void netdev_state_change(struct net_device *dev);
extern void netdev_bonding_change(struct net_device *dev);
extern void netdev_features_change(struct ...
| Sep 5, 12:32 pm 2008 |
| Hiroshi Shimamoto | Re: [PATCH -mm] Fix dev_load() compilation again
Hi,
in -next tree, this patch fixes the compilation error instead of
my patch. So, there is a conflict.
commit 9b90dc7bc3079376567fc501e2e84751fa4040fd
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed Aug 27 14:45:37 2008 +1000
rr: build fix for remove CONFIG_KMOD from net
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
thanks,
Hiroshi Shimamoto
--
| Sep 5, 12:54 pm 2008 |
| Ben Dooks | include/linux/skbuff.h: checksumming documentation
I have been reading the documentation on the checksumming of packets
with respect to adding the hardware tcp/udp/ip checksumming features
of the DM900A and DM9000B chips.
Looking at the received packets documentation (as follows):
* UNNECESSARY: device parsed packet and wouldbe verified checksum.
* skb->csum is undefined.
* It is bad option, but, unfortunately, many of vendors do this.
* Apparently with secret goal to sell you new device, when you
...
| Sep 5, 9:47 am 2008 |
| prodyut hazarika | Re: include/linux/skbuff.h: checksumming documentation
The documentation is kind of confusing.
It took me some time to figure this whole thing out.
Note that Linux TCP stack does not support IP checksum offload.
Only TCP/UDP offload is supported - but to confuse all we have skb->ipsummed,
which in reality holds the L4 partial checksum state.
Also, note that the stack always does the L4 pseudo header calculation,
even though the underlying device might be able to perform it. Only
the L4 payload
checksum is offloaded to the device.
The driver ...
| Sep 5, 10:37 am 2008 |
| Ben Hutchings | Re: TCP stateless offload with bonding?
The bonding driver generally provides all the offload features that all its
slave devices provide. You can configure this by using ethtool on the slave
devices.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Sep 5, 9:38 am 2008 |
| Dan Noé | TCP stateless offload with bonding?
The Documentation/networking/bonding.txt file talks about VLAN offload
support and the bonding driver, but not TCP segmentation, UDP/TCP
checksum, etc, offloading. Is this supported by the bonding driver, and
if so, how is it configured?
If it matters, we are using bonding for HA/failover, not for bandwidth
aggregation.
Thanks!
Cheers,
Dan
--
Dan Noé
Software Engineer
Lime Brokerage LLC
781-370-2518
--
| Sep 5, 9:04 am 2008 |
| Denis Joseph Barrow | [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottle to ...
Hi Guys,
This is a slightly smaller patch without
the unneccessary code that Alan Cox pointed out was superflous.
The firmware engineers have been patting me on the back
for the previous version of this patch as the serial ports
no longer drop characters.
Patch to stop loss of characters on the hso modems,
this patch throttles & unthrottles the modem by
not putting out urbs until the tty/line discipline layer
has enough space for newly received packets.
serial ports. This is required for ...
| Sep 5, 8:12 am 2008 |
| Hannes Hering | [PATCH 2/2] ehea: Enable DLPAR memory remove
This patch adds the capability flag to the capability list for dynamic LPAR
memory remove to enable this feature.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h
--- linux-2.6.27-rc5/drivers/net/ehea/ehea.h 2008-08-29 00:52:02.000000000 +0200
+++ patched_kernel/drivers/net/ehea/ehea.h 2008-09-05 15:33:12.000000000 +0200
@@ -40,13 +40,13 @@
#include <asm/io.h>
#define ...
| Sep 5, 7:38 am 2008 |
| Hannes Hering | [PATCH 1/2] ehea: Fix DLPAR memory handling
The ehea busmap must be allocated only once in the first of many calls of the
ehea_create_busmap_callback.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c
--- linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c 2008-08-29 00:52:02.000000000 +0200
+++ patched_kernel/drivers/net/ehea/ehea_qmr.c 2008-09-05 15:31:30.000000000 +0200
@@ -595,7 +595,8 @@ static int ...
| Sep 5, 7:36 am 2008 |
| Evgeniy Polyakov | Re: "Listenless" TCP over NAT?
This is supported by userspace network stack, which was presented here,
but I'm not sure that exactly unetstack was recommended to you.
Depending on how NAT is implemented. Usually NAT software will only
allow syn/ack packets before connection is established, and thus if one
peer sends syn packet, and second one sends ack packet (without seeng
ack first) it will work, but if second peer's NAT will send a reset
packet before ack from the peer, first NAT can drop connection (as long
It is ...
| Sep 5, 5:15 am 2008 |
| Ben Hutchings | Re: "Listenless" TCP over NAT?
It's a bit more complicated than that. See
<http://en.wikipedia.org/wiki/TCP_hole_punching>.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Sep 5, 5:15 am 2008 |
| xerces8 | "Listenless" TCP over NAT?
Hi!
Recently someone mentioned on this (or maybe other...) list a seldom used
technique of establishing a TCP connection without one host listening on a port,
but but acting as "clients" and connecting to the peers port.
My question: Can this be used to establish a TCP connection between two hosts that
are both behind a (P)NAT router ?
(the idea being: NAT router lets outgoing connections thru, and in this case both
NAT router would see an "outgoing" connection)
If yes, this would ...
| Sep 5, 4:45 am 2008 |
| Rémi Denis-Courmont | Re: "Listenless" TCP over
Linux TCP/IP does allow this at the end nodes.
However, whether it works on the NAT model. Many NAPT and firewalling boxes
will reset the TCP session if you try to do TCP simultaneous open. Besides,
you need to be able to predict your source port number, which again is not
always possible depending on the NAPT implementation.
As far as I can tell, this is simply way too failure prone in real life.
Using some form of UDP encapsulation, such as ICE, Teredo, IPsec-in-UDP,
etc works A LOT ...
| Sep 5, 5:51 am 2008 |
| xerces8 | Re: "Listenless" TCP over NAT?
Yes, but that requires either additional drivers or privileges, while
TCP simultaneous open works without all that.
Thanks for giving me the name of this thing ;-)
I will do some experimenting at home (there goes the weekend...)
Regards,
David
--
| Sep 5, 7:26 am 2008 |
| Steve Glendinning | [PATCH] SMSC LAN9500 USB2.0 10/100 ethernet adapter driver
Attached is a driver for SMSC's LAN9500 USB2.0 10/100 ethernet
adapter.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
---
MAINTAINERS | 6 +
drivers/net/usb/Kconfig | 8 +
drivers/net/usb/Makefile | 1 +
drivers/net/usb/smsc95xx.c | 1248 ++++++++++++++++++++++++++++++++++++++++++++
drivers/net/usb/smsc95xx.h | 253 +++++++++
5 files changed, 1516 insertions(+), 0 deletions(-)
create mode 100644 drivers/net/usb/smsc95xx.c
create mode 100644 ...
| Sep 5, 3:51 am 2008 |
| Denis Joseph Barrow | Re: [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottl ...
Thanks Alan,
I didn't see that check.
I'll shave a few lines off my code & send the patch again.
--
best regards,
D.J. Barrow
--
| Sep 5, 7:06 am 2008 |
| Alan Cox | Re: [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottl ...
If there is 128 bytes left in the n_tty buffer and you push data it ends
up in the tty_buffer queue where it will accumulate up to 64K of data
which will be fired into the tty layer when the tty layer is willing to
accept it (sets its receive_room).
Alan
--
| Sep 5, 6:59 am 2008 |
| Denis Joseph Barrow | Re: [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottl ...
Hi Alan,
You are very close to understanding me.
If my understanding of the n_tty.c code is correct it will
only start throttling when there is TTY_THRESHOLD_THROTTLE
i.e. 128 bytes left in the n_tty ring buffer this is a very low limit
for my driver. This means
that if I try to do a tty_flip_buffer_push of
of a tty buffer larger than 128 bytes when the threshold
is reached I will lose data. My urb buffers are 4k in
size 2 buffers of this size up to the tty layer in a row
quickly I believe ...
| Sep 5, 6:30 am 2008 |
| Alan Cox | Re: [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottl ...
I don't really follow what you are trying to do here. You have two layers
of buffering to consider
Driver -> | tty buffer queue (64k) | n_tty - internal queue | user
And it is when the internal queue gets full that we call throttle not
when the 64K of tty buffering is full.
So you really shouldn't see a problem unless you have many Kbytes of USB
requests floating around to consume all the buffering even after the tty
is throttled.
As to the robustness - the USB tty code is ...
| Sep 5, 6:09 am 2008 |
| Denis Joseph Barrow | [PATCH] hso.c against 2.6.27-rc5 throttle/unthrottle to ...
Hi Greg, Jeff Alan Tamas & others,
please find a patch below, it isn't absolutely
vital that it makes it into the driver but it
would be nice if it did, if it is verified to be good.
I've verified that it does unthrottle & appears
to do the right thing I've yet to hear back
from our firmware diagnostic team at option
whether it really really works so I'm
posting this patch a bit prematurely.
The variable I'm most worried about in the patch is
int curr_rx_urb_idx;
I depend in all cases ...
| Sep 5, 2:35 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
That's a bug. Likely no one sends file content via udp, so it was not
Well, you can mmap empty file into the RAM, lock it there, DMA data from
the sensor to the mmapped area, add headers (just in the mapped area)
and then sendfile that file.. Single syscall, zero-copy, standard
interfaces :)
--
Evgeniy Polyakov
--
| Sep 5, 6:37 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
OK but it seems that there is no way to control packet format.
(beginning of packet and size of packet).
Each packet must start with a specific header (on my app). This is a
kind of streaming.
Thanks,
Johann
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 6:55 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
Hi.
Well, udp_sendpage() needs to be extended to only append page when there
is anough free space there, otherwise push given frame and create next
I meant you get a pointer by mapping some file in tmpfs (for example)
and then use some offset variable to store where you put your last data
(either packet header, or data itself), so that any subsequent write to
that area (either new packet header or dma data placement) would put
data just after the previous chunk. Thus after you have put ...
| Sep 5, 7:59 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
Hi Johann.
This may be a bad sign. Or extremely needed step like in satellite links
with its huge rtts. Likely in case of ethernet usage tcp/udp over IP is
the way to go.
--
Evgeniy Polyakov
--
| Sep 5, 9:34 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
[Empty message]
| Sep 5, 6:16 am 2008 |
| Johann Baudy | Fwd: Packet mmap: TX RING and zero copy
vmsplice() is short in comparison to splice() ~ 200us !
This was just to show you that even this vmpslice duration of 80us
that is needed for each packet is too long to send only 1 packet.
I really need a mechanism that allow sending of ~ 40 packets of 7200K
in one system call to keep some cpu ressources to do other things.
I've only observed a small performance between with and without
gettimeofday().(< 1MB/s). I've used it to do a light FTRACE and to get
Between kill_fasync() ...
| Sep 5, 2:17 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
If I understand well, there is no link between start of ethernet frame
and packet header ?
App protocol must support packet loss ^^
Thanks,
Johann
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 8:30 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
Hi Johann.
Hmmm... splice()/sendfile() shuold be able to send the whole file in
This worries me a lot: sendfile should be a single syscall which very
optimally creates network packets getting into account MTU and hardware
capabilities. I do belive it is a problem with userspace code.
--
Evgeniy Polyakov
--
| Sep 5, 4:31 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
I was talking about vmsplice()/splice() which seems to me the only way
I don't understand your point, how can I check?
Yes, and this is what it does (only one single syscall).
No printf, only one sendfile of 10MB file over TCP socket
To resume ongoing test status:
with vmsplice()/splice() I need to do multiple call of vmsplice() and
one call of splice() - ratio seems to be limited to the pipe capacity
(16 pages: 64K)
- vmsplice call specify the ...
| Sep 5, 5:44 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
I've finally made the test:
Packet is not going through device due to this test:
if (inet->cork.length + size > 0xFFFF - fragheaderlen) {
ip_local_error(sk, EMSGSIZE, rt->rt_dst, inet->dport, mtu);
return -EMSGSIZE;
}
in ip_append_page()
inet->cork.length reach 61448 then this failure occurs
size = 4096
What do you mean with global offset ?
Thanks,
Johann
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 7:45 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
Hi Johann.
No need to run FTRACE, code shuld be audited and probably some debug
prints added to determine, why sendfile() decides to exit early wiht
UDP. I will try to do it if time permits this weekend, although I'm
You can always provide a global offset where to put next packet.
You can ajust it to put header before each data frame, and then DMA
frame content according to that offset.
Transmitting packet socket is needed for those, who wants to implement
own low-level protocol ...
| Sep 5, 7:19 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
I'm leaving office right now.
Ok, I see. I just need to check if UDP is fine for my application or
if i need to do my own L3/L4.
Many thanks again,
Have a nice weekend,
Johann
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 9:01 am 2008 |
| Johann Baudy | Re: Fwd: Packet mmap: TX RING and zero copy
So, it seems that there is something wrong in UDP here, because TCP
works properly with same code.
If size argument of sendfile() exceed 61440, sendfile() returns 61440
and send no data to the device ...
I will try to investigate it but for my app sendfile() is not
conceivable. Only vmsplice could, but too slow.
Thanks,
Johann
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 6:29 am 2008 |
| Evgeniy Polyakov | Re: Fwd: Packet mmap: TX RING and zero copy
Hi.
Great, thank you. But it should take into account UDP nature: data is
Ethernet header is appended by the network core itself, likely core will
just allocate skb with small data area, put there an ethernet and udp/ip
headers and attach pages from the file. If hardware does not support
I think matter of packet loss relevance here is just the same like with
any other sending method.
--
Evgeniy Polyakov
--
| Sep 5, 8:38 am 2008 |
| Carsten Aulbert | Channel bonding with e1000
Hi,
I have a brief problem and would ask for a little assistance:
On a few data servers we intend to do channel bonding. The boxes have
two NICs on the motherboard and two extra ones on an expansion card:
04:00.0 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
04:00.1 Ethernet controller: Intel Corporation 631xESB/632xESB DPT LAN
Controller Copper (rev 01)
05:02.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet
Controller (rev ...
| Sep 5, 1:36 am 2008 |
| Jay Vosburgh | Re: Channel bonding with e1000
Carsten Aulbert <carsten.aulbert@aei.mpg.de> wrote:
Nope.
If you're concerned about tolerance to failure, you may want to
pick one port from each (one built-in port, one from the card) so if the
expansion card dies you're not totally cut off.
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
--
| Sep 5, 7:37 am 2008 |
| Daniel Lezcano | netns : fix kernel panic in timewait socket destruction
[Empty message]
| Sep 5, 1:37 am 2008 |
| Denis Joseph Barrow | [Fwd: [PATCH] hso.c mutex fixups]
Hi Jeff & others,
This patch is against the virgin linux-2.6.27-rc4 hso.c driver
but should apply against 2.6.27-rc5 as well.
I believe it is very well designed but owing to its complexity
it might have bugs.
Enjoy the patch.
A new structure hso_mutex_table had to be declared statically
& used as as hso_device mutex_lock(&serial->parent->mutex) etc
is freed in hso_serial_open & hso_serial_close by kref_put while
the mutex is still in use.
This is a substantial change but should make the ...
| Sep 5, 1:28 am 2008 |
| Divy Le Ray | [PATCH 1/1 2.6.28] cxgb3 - remove duplicate tests in lro
From: Divy Le Ray <divy@chelsio.com>
The generic lro code checks TCP flags/options.
Remove duplicate tests done in the driver.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
---
drivers/net/cxgb3/sge.c | 35 -----------------------------------
1 files changed, 0 insertions(+), 35 deletions(-)
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 1b0861d..f78a42c 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1937,38 +1937,6 @@ static inline int ...
| Sep 4, 10:34 pm 2008 |
| Randy Dunlap | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Even with this patch, net/netlabel/netlabel_mgmt.c has build errors when CONFIG_IPV6=n:
linux-next-20080904/net/netlabel/netlabel_domainhash.c:79: warning: unused variable 'tmp6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:78: warning: unused variable 'iter6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:340: warning: unused variable 'tmp6'
linux-next-20080904/net/netlabel/netlabel_domainhash.c:301: warning: unused variable ...
| Sep 4, 9:00 pm 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Thanks, I'll get these fixed today.
--
paul moore
linux @ hp
--
| Sep 5, 4:44 am 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Interesting, I tried to reproduce this quickly by changing my .config,
running 'make oldconfig', verifying that CONFIG_IPV6 was still "n" (it
was actually commented out), and then running 'make M=net/netlabel' ...
the result was no error.
You are correct, I obviously made a mistake in the code (which I am
fixing now) but I don't understand why the steps I took above didn't
--
paul moore
linux @ hp
--
| Sep 5, 9:44 am 2008 |
| Paul Moore | Re: + security-selinux-include-netlabelh-fix-two-build-e ...
Hmmm, nevermind, the problem seems to have disappeared after
--
paul moore
linux @ hp
--
| Sep 5, 10:02 am 2008 |
| Wang Chen | [PATCH 03/18] netdevice: safe convert to netdev_priv() #part-3
[Empty message]
| Sep 4, 8:11 pm 2008 |
| John W. Linville | Re: [PATCH 14/18] netdevice airo: Convert directly refer ...
Thank you for your patch. However, I do not understand why you didn't
simply replace netdev->priv with netdev_priv()? Can you explain?
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
--
| Sep 5, 5:50 am 2008 |
| Wang Chen | [PATCH 10/18] netdevice ppp: Convert directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:21 pm 2008 |
| Dan Williams | Re: [PATCH 14/18] netdevice airo: Convert directly refer ...
Yeah, that would have been my first choice too...
Dan
--
| Sep 5, 10:06 am 2008 |
| Wang Chen | Re: [V#2 PATCH 0/18] netdevice: Fix directly reference o ...
v1->v2:
- Jeff pointed out some patch's subject is not same as content. fixed.
- Remove sfc driver fix, because it's already merged.
- I split safe convertion to 18 parts in version-1, but I split to 4 parts here.
--
| Sep 4, 8:42 pm 2008 |
| Wang Chen | [PATCH 18/18] netdevice sbni: Convert directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:31 pm 2008 |
| David Dillow | Re: [PATCH 03/18] netdevice: safe convert to netdev_priv ...
For what it's worth
Acked-by: Dave Dillow <dave@thedillows.org>
Thanks for the diffstats on the broken up patches -- I missed this patch
to typhoon last time around. It was easy to find this time.
--
| Sep 5, 6:58 am 2008 |
| Wang Chen | [PATCH 08/18] netdevice lance: Convert directly referenc ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:19 pm 2008 |
| Wang Chen | [PATCH 14/18] netdevice airo: Convert directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:27 pm 2008 |
| Wang Chen | [PATCH 09/18] netdevice ni65: Convert directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:20 pm 2008 |
| Dan Williams | Re: [PATCH 15/18] netdevice libertas: Fix directly refer ...
Same comment as the other two; any reason we can't use netdev_priv()
instead of ->ml_priv? That would be preferable.
Thanks!
--
| Sep 5, 10:07 am 2008 |
| Wang Chen | [PATCH 16/18] netdevice zd1201: Convert directly referen ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:29 pm 2008 |
| Wang Chen | [PATCH 11/18] netdevice cycx_x25: Convert directly refer ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:23 pm 2008 |
| Wang Chen | [PATCH 12/18] netdevice hdlc: Convert directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:24 pm 2008 |
| Wang Chen | [PATCH 13/18] netdevice wanrouter: Convert directly refe ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:25 pm 2008 |
| Wang Chen | [PATCH 07/18] netdevice hamradio: Convert directly refer ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:17 pm 2008 |
| Wang Chen | [PATCH 17/18] netdevice pc300: Convert directly referenc ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:30 pm 2008 |
| John W. Linville | Re: [PATCH 16/18] netdevice zd1201: Convert directly ref ...
Same comment as the other patch.
Also, I have to be honest and say that I had never been aware of
dev->ml_priv before, so I'm not entirely sure what it is. However,
from the comment at it's definision ("mid-layer private") and it's
usage in qeth, loopback, and ppp, I'm not at all sure that you are
using it as intended.
Can you explain?
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
--
| Sep 5, 5:56 am 2008 |
| Wang Chen | [PATCH 02/18] netdevice: safe convert to netdev_priv() #part-2
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
---
drivers/net/declance.c | 2 +-
drivers/net/depca.c | 40 +++++++++---------
drivers/net/dm9000.c | 32 +++++++-------
drivers/net/e1000/e1000_main.c | 9 ++--
drivers/net/e1000e/netdev.c | 3 +-
drivers/net/eepro.c | 4 +-
drivers/net/epic100.c | 42 +++++++++---------
drivers/net/eth16i.c | 2 +-
...
| Sep 4, 8:10 pm 2008 |
| Wang Chen | [PATCH 04/18] netdevice: safe convert to netdev_priv() #part-4
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
---
drivers/net/wireless/libertas/wext.c | 72 ++++++++++++++--------------
drivers/net/wireless/rndis_wlan.c | 62 ++++++++++++------------
drivers/net/wireless/wavelan.c | 88 ++++++++++++++++-----------------
drivers/net/znet.c | 22 ++++----
net/appletalk/ddp.c | 2 +-
net/atm/br2684.c | 2 +-
net/atm/lec.c | 34 +++++++------
...
| Sep 4, 8:11 pm 2008 |
| Wang Chen | [PATCH 06/18] netdevice chelsio: Convert directly refere ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:15 pm 2008 |
| Wang Chen | [PATCH 15/18] netdevice libertas: Fix directly reference ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:28 pm 2008 |
| Wang Chen | [V#2 PATCH 0/18] netdevice: Fix directly reference of ne ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv now, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
- Patch ...
| Sep 4, 8:06 pm 2008 |
| Wang Chen | [PATCH 05/18] netdevice 82596: Convert directly referenc ...
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
Different to ...
| Sep 4, 8:14 pm 2008 |
| Wang Chen | [PATCH 01/18] netdevice: safe convert to netdev_priv() #part-1
We have some reasons to kill netdev->priv:
1. netdev->priv is equal to netdev_priv().
2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
netdev_priv() is more flexible than netdev->priv.
But we cann't kill netdev->priv, because so many drivers reference to it
directly.
OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
and I want to kill netdev->priv later, I decided to convert all the direct
reference of netdev->priv first.
This patch is ...
| Sep 4, 8:09 pm 2008 |
| Krzysztof Halasa | Re: [PATCH 12/18] netdevice hdlc: Convert directly refer ...
Since it's now a separate patch I will just take it.
Thanks.
--
Krzysztof Halasa
--
| Sep 5, 9:38 am 2008 |
| Julius Volz | Re: [PATCH 1/2] ipvs: load balance IPv4 connections from ...
Hm, shouldn't this be (af == AF_INET6 && ...) instead of "||"? The
current expression just NF_ACCEPTs _any_ incoming IPv6 packets, even
non-local ones.
Julius
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
| Sep 5, 4:02 am 2008 |
| Brian Haley | Re: [PATCH 2/2] ipvs: load balance ipv6 connections from ...
Because an in6_addr is a union of 4 u32's, which won't all be copied in
a struct assignment. That's the way I've always understood it.
-Brian
--
| Sep 5, 8:55 am 2008 |
| Siim | Re: [PATCH 1/2] ipvs: load balance IPv4 connections from ...
The new packets that we handle are on the loopback device and no checksums
appear to be generated there. I initially changed the condition to check
for loopback device (which we could do), but checking udp code found that
it already handled it by checking zero checksum, hence the same
--
Siiralt Teie,
Elektromehaaniline Põder
--
| Sep 4, 10:49 pm 2008 |
| Julian Anastasov | Re: [PATCH 1/2] ipvs: load balance IPv4 connections from ...
Hello,
TCP checksum is not optional, why this change appeared?
Regards
--
Julian Anastasov <ja@ssi.bg>
--
| Sep 4, 10:12 pm 2008 |
| Simon Horman | [PATCH 1/2] ipvs: load balance IPv4 connections from a l ...
From: Malcolm Turnbull <malcolm@loadbalancer.org>
ipvs: load balance IPv4 connections from a local process
This allows IPVS to load balance connections made by a local process.
For example a proxy server running locally.
External client --> pound:443 -> Local:443 --> IPVS:80 --> RealServer
Signed-off-by: Siim Põder <siim@p6drad-teel.net>
Signed-off-by: Malcolm Turnbull <malcolm@loadbalancer.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
net/ipv4/ipvs/ip_vs_core.c | ...
| Sep 4, 6:36 pm 2008 |
| Simon Horman | [PATCH 2/2] ipvs: load balance ipv6 connections from a l ...
This allows IPVS to load balance IPv6 connections made by a local process.
For example a proxy server running locally.
External client --> pound:443 -> Local:443 --> IPVS:80 --> RealServer
This is an extenstion to the IPv4 work done in this area
by Siim Põder and Malcolm Turnbull.
Cc: Siim Põder <siim@p6drad-teel.net>
Cc: Malcolm Turnbull <malcolm@loadbalancer.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
net/ipv4/ipvs/ip_vs_core.c | 91 ...
| Sep 4, 6:37 pm 2008 |
| Julius Volz | Re: [PATCH 2/2] ipvs: load balance ipv6 connections from ...
No, they _do_ all get copied and the result seems correct. There must
be another reason...
Julius
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
| Sep 5, 9:37 am 2008 |
| Julius Volz | Re: [PATCH 2/2] ipvs: load balance ipv6 connections from ...
Hi,
Just some minor things:
I've always been told to use ipv6_addr_copy() for this. I'm not sure
what the problem with the direct struct assignment is though... would
This indents the curly brace incorrectly, probably just deleted a tab
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
| Sep 5, 4:40 am 2008 |
| Andrew Morton | Re: linux-next: Tree for September 3
It was a once-off.
--
| Sep 5, 10:49 am 2008 |
| Ingo Molnar | Re: linux-next: Tree for September 3
i guess CONFIG_DEBUG_OBJECTS_TIMERS=y is practical, and
CONFIG_DEBUG_LIST=y would be nice as well - it can catch memory
corruptions rather early and is relatively light-weight.
[ and if there's any reproducability of the corruption and if it happens
at a stable kernel address then a small custom hack in ftrace can
catch it the moment it happens. ]
Ingo
--
| Sep 5, 4:04 am 2008 |
| Arjan van de Ven | Re: linux-next: Tree for September 3
On Thu, 4 Sep 2008 16:17:01 -0700 (PDT)
btw if the oops was on lkml like it was here you can also just look it
up on kerneloops.org via the search option
which for this case finds you
http://www.kerneloops.org/raw.php?rawid=59347&msgid=http://mid.gmane.org/200809041...
and this has the decodecode already done
and the search output at
http://www.kerneloops.org/search.php?search=get_next_timer_interrupt
shows that there's only been very few reports ...
| Sep 4, 10:39 pm 2008 |
| Josh Boyer | Re: [PATCH 3/3] ibm_newemac: MAL support for PowerPC 405EZ
On Fri, 5 Sep 2008 12:10:37 +1000
I hate checkpatch, but that's easy enough to fix. Though I don't see
I like it. Much cleaner. I'll fix that up too.
josh
--
| Sep 4, 8:41 pm 2008 |
| Simon Horman | Re: [PATCH 3/3] ibm_newemac: MAL support for PowerPC 405EZ
Return statements shouldn't be enlosed in brackets according to
The above like is >80 characters wide.
It seems that that first three calls to irq_of_parse_and_map() could
be moved outside of the if/else clause.
mal->txeob_irq = irq_of_parse_and_map(ofdev->node, 0);
mal->rxeob_irq = irq_of_parse_and_map(ofdev->node, 1);
mal->serr_irq = irq_of_parse_and_map(ofdev->node, 2);
if (mal_has_feature(mal, MAL_FTR_COMMON_ERR_INT)) {
mal->txde_irq = mal->rxde_irq = mal->serr_irq;
} else ...
| Sep 4, 7:10 pm 2008 |
| Benjamin Herrenschmidt | Re: [PATCH 3/3] ibm_newemac: MAL support for PowerPC 405EZ
I wouldn't do a tatrum over it but if you're going to respin the
patch you may as well put the second constant on the next line.
Cheers,
Ben.
--
| Sep 5, 2:34 am 2008 |
| Benjamin Herrenschmidt | Re: [PATCH 2/3] ibm_newemac: Introduce mal_has_feature
You also add an actual feature (CLR_ICINSTAT). You should document that
Nah. Just stick an | 0 in the enum to make it happy.
Cheers,
Ben.
--
| Sep 4, 8:19 pm 2008 |
| Josh Boyer | Re: [PATCH 2/3] ibm_newemac: Introduce mal_has_feature
On Fri, 05 Sep 2008 13:19:23 +1000
I add two features. And I so in the commit log, though I didn't
OK. I did that originally, but for some reason I wanted to avoid
having FTRS_ALWAYS and FTRS_POSSIBLE be equal if none of the Kconfig
options were set. I can't remember why though.
josh
--
| Sep 4, 8:37 pm 2008 |
| Jarek Poplawski | Re: latest git crash (BUG/rt_fill_info)
I guess it would be helpful to put vmlinux from this kernel build
under some link (or send some gdb listing of this address).
Jarek P.
--
| Sep 5, 4:36 am 2008 |
| Paul Gortmaker | Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
Hi David,
I think there are some things that should be done here still.
Generally speaking, this is an old driver for hardware that most of
us will never see again, so the concern is that any changes may
break some existing configurations we can't easily test. In light
of that, the change footprint should be minimized and/or be
bisectable wherever possible.
For example, if I'm reading it correctly, you've changed the module
behaviour so that on module load an autoprobe takes place, ...
| Sep 5, 1:01 am 2008 |
| Matt Sealey | Re: [PATCH, RFC] mv643xx_eth: move sram window setting c ...
In my view... an sram node (it would be /buildin/sram on Pegasos) which
defines the location of sram. In the mv643xx_eth driver you'd check if
you're on Pegasos and set it up, which is what the extra code amounts
to anyway. It just reduces the need to have this address hardcoded in
the kernel. Or, perhaps an sram "driver" - like the sram driver on the
MPC5200B which BestComm relies on. It's simply an rheap wrapper and a
few extra bobbins to find the base address and suchlike from the ...
| Sep 5, 7:31 am 2008 |
| Jarek Poplawski | [PATCH] pkt_sched: Fix qdisc state in net_tx_action()
...
Great!!!!
Alas these logs are not very clear, but while browsing the code I
think I found one of possible reasons around this (but I'm not sure
this is all...).
Thanks,
Jarek P.
------------>
pkt_sched: Fix qdisc state in net_tx_action()
net_tx_action() can skip __QDISC_STATE_SCHED bit clearing while qdisc
is neither ran nor rescheduled, which may cause endless loop in
dev_deactivate().
Reported-by: Denys Fedoryshchenko <denys@visp.net.lb>
Signed-off-by: Jarek Poplawski ...
| Sep 5, 1:29 am 2008 |
| Denys Fedoryshchenko | Re: [PATCH] pkt_sched: Fix qdisc state in net_tx_action()
Tested, working fine, bug fixed.
--
| Sep 5, 3:41 pm 2008 |
| Herbert Xu | Re: [PATCH] pkt_sched: Fix qdisc state in net_tx_action()
Good catch!
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Sep 5, 3:26 am 2008 |
| Herbert Xu | Re: xfrm_state locking regression...
OK let's see if this is creative enough :)
The next step after this patch is to kill x->all altogether and
go back to the old walking method (plus the saved state).
ipsec: Use RCU-like construct for saved state within a walk
Now that we save states within a walk we need synchronisation
so that the list the saved state is on doesn't disappear from
under us.
As it stands this is done by keeping the state on the list which
is bad because it gets in the way of the management of the ...
| Sep 5, 4:55 am 2008 |
| James Morris | Re: [RFC PATCH v4 02/14] selinux: Better local/forward c ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 1:51 am 2008 |
| James Morris | Re: [RFC PATCH v4 10/14] selinux: Set socket NetLabel ba ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 2:08 am 2008 |
| James Morris | Re: [RFC PATCH v4 03/14] selinux: Fix a problem in secur ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 1:53 am 2008 |
| James Morris | Re: [RFC PATCH v4 11/14] selinux: Cache NetLabel secattr ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 2:12 am 2008 |
| Paul Moore | Re: [RFC PATCH v4 02/14] selinux: Better local/forward c ...
Thanks for taking the time to review the patches and send feedback, I
know they weren't small. I've made all the corrections you've
suggested as well as the ones that Andrew and Randy pointed out. I'm
building a new kernel to test right now, if all goes well I'll push the
new bits tonight or tomorrow.
I've also added all your ACKs to their respective patches except for
this one because I made some non-trivial changes and didn't think it
was fair to use your ACK. While I was looking ...
| Sep 5, 2:58 pm 2008 |
| James Morris | Re: [RFC PATCH v4 04/14] selinux: Fix missing calls to n ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 1:55 am 2008 |
| James Morris | Re: [RFC PATCH v4 09/14] netlabel: Add functionality to ...
Might be nice to include a comma after that if you update the patches.
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 2:03 am 2008 |
| James Morris | Re: [RFC PATCH v4 12/14] netlabel: Changes to the NetLab ...
Acked-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| Sep 5, 2:12 am 2008 |
| Wolfgang Denk | Re: tehuti: use resource_size_t instead of unsigned long ...
Dear Ilya Yanok,
Applied to master branch of linux-2.6-denx repo.
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The only perfect science is hind-sight.
--
| Sep 5, 5:25 am 2008 |
| Johann Baudy | Re: Packet mmap: TX RING and zero copy
Thanks Robert,
The architecture of PF_RING seems to be really similar to packet mmap
IO to optimize capture process.
Is it planned to replace it?
I'll try it to get performance.
Best regards,
Johann
On Fri, Sep 5, 2008 at 12:28 PM, Robert Iakobashvili
--
Johann Baudy
johaahn@gmail.com
--
| Sep 5, 6:06 am 2008 |
| Robert Iakobashvili | Re: Packet mmap: TX RING and zero copy
Hi Johann,
Something like this has been done in PF_RING socket,
which is a part of ntop project infra.
Take care.
Truly,
Robert Iakobashvili
......................................................................
www.ghotit.com
Assistive technology that understands you
......................................................................
--
| Sep 5, 3:28 am 2008 |
| Evgeniy Polyakov | Re: Packet mmap: TX RING and zero copy
Hi Johann.
vmsplice() can be slow, try to inject header via usual send() call, or
Amount of gettimofday() and friends is excessive, but it can be a trace
tool itself. kill_fasync() also took too much time (top CPU user
is at bottom I suppose?), do you use SIGIO? Also vma traveling and page
checking is not what will be done in network code and your project, so
it also adds an overhead. Please try without vmsplice() at all, usual
splice()/sendfile() _has_ to saturate the link, otherwise we ...
| Sep 5, 12:17 am 2008 |
| Sven Wegener | [PATCH] ipvs: Return negative error values from ip_vs_ed ...
Like the other code in this function does.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
net/ipv4/ipvs/ip_vs_ctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Simon, please apply onto lvs-next-2.6.
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 7f89c58..d2dc05a 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1284,11 +1284,11 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern ...
| Sep 5, 4:47 am 2008 |
| Simon Horman | Re: [PATCHv3 00/24] Add first IPv6 support to IPVS
Hi Julius, Hi Vince,
I have applied all of these patches to the lvs-next-2.6 branch
of the lvs-2.6 tree and I will ask Dave to pull these into
net-next-2.6 shortly.
git://git.kernel.org/pub/scm/linux/kernel/git/horms/lvs-2.6.git
--
| Sep 4, 6:25 pm 2008 |
| Sven Wegener | [PATCH] ipvs: Reject ipv6 link-local addresses for desti ...
We can't use non-local link-local addresses for destinations, without
knowing the interface on which we can reach the address. Reject them for
now.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
net/ipv4/ipvs/ip_vs_ctl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index d2dc05a..e53efe4 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -838,7 +838,8 @@ ...
| Sep 5, 7:53 am 2008 |
| Julius Volz | Re: [PATCHv3 00/24] Add first IPv6 support to IPVS
Great, many thanks!
Julius
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
| Sep 5, 4:05 am 2008 |
| Simon Horman | Re: [PATCHv3 16/24] IPVS: Add/adjust Netfilter hook func ...
Ok, that sounds reasonable. Perhaps someone could clarify the
behaviour of ip_vs_gather_frags{_v6}.
--
| Sep 4, 5:47 pm 2008 |
| Sven Wegener | [PATCH] ipvs: Mark tcp/udp v4 and v6 debug functions static
They are only used in this file, so they should be static
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
net/ipv4/ipvs/ip_vs_proto.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Simon, please apply onto lvs-next-2.6.
diff --git a/net/ipv4/ipvs/ip_vs_proto.c b/net/ipv4/ipvs/ip_vs_proto.c
index 50f6215..b06da1c 100644
--- a/net/ipv4/ipvs/ip_vs_proto.c
+++ b/net/ipv4/ipvs/ip_vs_proto.c
@@ -151,7 +151,7 @@ const char * ip_vs_state_name(__u16 proto, int state)
...
| Sep 5, 5:43 am 2008 |
| Sven Wegener | [PATCH] ipvs: Use pointer to address from sync message
We want a pointer to it, not the value casted to a pointer.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
net/ipv4/ipvs/ip_vs_sync.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
I've been too late with having a look at these patches. I'm going to
send follow-up patches for the issues I find.
Simon, please apply onto lvs-next-2.6.
diff --git a/net/ipv4/ipvs/ip_vs_sync.c b/net/ipv4/ipvs/ip_vs_sync.c
index 40647ed..28237a5 100644
--- ...
| Sep 5, 4:46 am 2008 |
| Julius Volz | Re: [PATCH] ipvs: Use pointer to address from sync message
Thanks! There are probably still lots of these easy-to-miss (but bad)
Yes!
Julius
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
| Sep 5, 5:28 am 2008 |
| Evgeniy Polyakov | Re: [Bugme-new] [Bug 11469] New: TUN with 1024 neighbour ...
Hi.
Likely it will not help, since subsequent crashes are results of the
first one and rarely contain good info, but dump you have presented is
not tainted, so problem is not in some other place.
--
Evgeniy Polyakov
--
| Sep 5, 9:37 am 2008 |
| Evgeniy Polyakov | Re: [Bugme-new] [Bug 11469] New: TUN with 1024 neighbour ...
Hi.
By whom it was tainted?
--
Evgeniy Polyakov
--
| Sep 5, 4:41 am 2008 |
| Rémi Denis-Courmont | Re: [Bugme-new] [Bug 11469] New: TUN with 1024 neighbour ...
Yes. With 2.6.27-rc5-b380b0d4f7dffcc235c0facefa537d4655619101, I get this:
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
tun0: Disabled Privacy Extensions
BUG: unable to handle kernel NULL pointer dereference at 0000001d
IP: [<f8b205a0>] :ipv6:ip6_dst_lookup_tail+0x9e/0x166
*pde = 00000000
Oops: 0000 [#1] SMP
Modules linked in: tun fuse nf_conntrack_ftp nf_conntrack_ipv6
nf_conntrack_ipv4 nf_conntrack ipv6 snd_intel8x0 snd_ac97_codec ...
| Sep 5, 9:03 am 2008 |
| Peter Zijlstra | Re: [PATCH] Return value from schedule()
Gah, not another yield in the network code we have to figure out wtf its
meant to do.
--
| Sep 5, 12:40 am 2008 |
| John W. Linville | Re: [GIT]: Networking
Yes, just revert it.
Jouni, feel free to send me a new version for 2.6.28.
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
--
| Sep 5, 11:17 am 2008 |
| Alex Williamson | Re: [GIT]: Networking
This one breaks wireless with 32bit userspace/64bit kernel. Bisected
back to changeset 087d833e5a9f67ba933cb32eaf5a2279c1a5b47c:
mac80211: Use IWEVASSOCREQIE instead of IWEVCUSTOM
--
Alex Williamson HP Open Source & Linux Org.
--
| Sep 5, 8:08 am 2008 |
| Linus Torvalds | Re: [GIT]: Networking
Grr. I'd love to say "I told you so", and write another rant about -rc
series patches. But I'm too lazy, so people - please mentally insert my
standard rant here.
David/Jouni - just revert it?
Linus
--
| Sep 5, 10:45 am 2008 |
| Patrick McHardy | Re: [PATCH 21/25] netns ct: per-netns event cache
No, they are skipped by the only event handler, ctnetlink.
--
| Sep 5, 4:34 am 2008 |
| Alexey Dobriyan | Re: [PATCH 21/25] netns ct: per-netns event cache
Dunno, passing netns explicitly like saying conntrack event happened in
netns A, which is reasonable. OTOH, s/skb/ct/ is indeed nicer.
I'll change it as you suggest and see what happens.
BTW, I asked earlier if untracked conntracks are ever supposed to drop into
--
| Sep 4, 8:44 pm 2008 |
| Patrick McHardy | Re: [PATCH 20/38] netns ct: NOTRACK in netns
I hope so :) A different possiblity suggest by Pablo some time ago
would be to mark untracked packets in skb->nfctinfo and not
I don't think so, untracked conntracks are skipped early in the NAT
It looks that way, but its not right. I think it should return false
for every match except on (untracked) state.
--
| Sep 5, 4:33 am 2008 |
| Patrick McHardy | Re: [PATCH 20/38] netns ct: NOTRACK in netns
I think that would be a good idea.
--
| Sep 5, 5:25 am 2008 |
| Alexey Dobriyan | Re: [PATCH 20/38] netns ct: NOTRACK in netns
Ewww, can I?
Regardless of netns, switching to
struct nf_conntrack nf_conntrack_untracked;
means we must be absolutely sure that every place which uses, say,
ct->status won't get untracked conntrack.
For example, does setting IPS_NAT_DONE_MASK and IPS_CONFIRMED_BIT on
untracked conntracked really necessary?
In conntrack_mt_v0() "ct->status" can be used even for untracked connection,
--
| Sep 4, 7:58 pm 2008 |
| Pablo Neira Ayuso | Re: [PATCH 20/38] netns ct: NOTRACK in netns
Indeed, I remember that :). I left that patch of the table time ago [1].
There's a nf_reset call missing as Patrick said at that time. I can
recover it if you like the idea.
[1]
http://lists.netfilter.org/pipermail/netfilter-devel/2005-June/020171.html
--
"Los honestos son inadaptados sociales" -- Les Luthiers
--
| Sep 5, 4:54 am 2008 |
| Patrick McHardy | Re: [PATCH 20/38] netns ct: NOTRACK in netns
ct == NULL would indicate either untracked or invalid.
For the cases where it makes a difference, ctinfo has
to be checked additionally.
--
| Sep 5, 6:10 am 2008 |
| Jan Engelhardt | Re: [PATCH 20/38] netns ct: NOTRACK in netns
Does it even happen? Something smells afoul if ct->status is anything
but zero/unset for the untracked entry.
--
| Sep 4, 9:18 pm 2008 |
| Jan Engelhardt | Re: [PATCH 20/38] netns ct: NOTRACK in netns
Would that work? Right now, a ct==NULL indicates the 'INVALID' state,
and overloading it with 'UNTRACKED' does not seem nice.
--
| Sep 5, 6:08 am 2008 |
| previous day | today | next day |
|---|---|---|
| September 4, 2008 | September 5, 2008 | September 6, 2008 |
