[XFRM]: esp: fix skb_tail_pointer conversion bug
Fix incorrect switch of "trailer" skb by "skb" during skb_tail_pointer
conversion:
- *(u8*)(trailer->tail - 1) = top_iph->protocol;
+ *(skb_tail_pointer(skb) - 1) = top_iph->protocol;
- *(u8 *)(trailer->tail - 1) = *skb_network_h
Rusty Russell wrote:
On Thu, 2007-04-05 at 10:17 +0300, Avi Kivity wrote:
Rusty Russell wrote:
You didn't quote Anthony's point about "it's more about there not being
good enough userspace interfaces to do network IO."
It's easier to write a kernel-space network driver, but it's not
ob
Hope you can help.
I have the following setup using LVS (Linux Virtual Servers):
LAN192.168.0.0/24- <= CLIENTS
| |
| |
LVS1LVS2
vip1: 192.1
Hi all,
I tried to find out why some amount of memory remains allocated for TCP
socket buffers after an application completes to read the buffers.
Although I looked for similar topics in this ML, I couldn't find it.
While a client create hundreds of new TCP connections to a server and
sends 5
The pskb_copy_expand crash I was seeing was triggered by BEET
mode not calculating the SA's header_len value for the worst
case, causing skb headroom expansions. This patch uses the
worst case value by including the maximum length of the pseudo
header.
The patch applies on top of the MTU optimizat
These patches fix two crashes I was getting with net-2.6.22
on 64 bit caused by missing skb header offset adjustments
when changing the headroom length.
[SK_BUFF]: Fix missing offset adjustment in pskb_expand_head
Since we're increasing the headroom, the header offsets need to be
increased by the
[SK_BUFF]: Fix missing offset adjustment in skb_copy_expand
skb_copy_expand changes the headroom, so it needs to adjust the header
offsets by the difference between the old and the new value.
Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
---
commit 9cb76fae709a9303777286998baa457b0730a225
t
Driver needs to turn off carrier when down, otherwise it can
confuse bonding and bridging and looks like carrier is on immediately
when it is brought back up.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- linux-2.6.20.y.orig/drivers/net/skge.c 2007-04-07 15:36:05.0
-0700
Driver needs to turn off carrier when down.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- linux-2.6.20.y.orig/drivers/net/sky2.c 2007-04-07 15:36:05.0
-0700
+++ linux-2.6.20.y/drivers/net/sky2.c 2007-04-07 15:54:42.0 -0700
@@ -1506,6 +1506,7 @@
/* Stop
Some of these chips are disabled until clock is enabled.
This fixes:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404107
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- linux-2.6.20.y.orig/drivers/net/sky2.c 2007-04-07 15:54:42.0
-0700
+++ linux-2.6.20.y/drivers/n
Driver needs to turn off carrier when down, otherwise it can
confuse bonding and bridging and looks like carrier is on immediately
when it is brought back up.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- netdev-2.6.orig/drivers/net/skge.c 2007-04-07 15:09:13.0 -0700
+++ netde
Driver needs to turn off carrier when down.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- netdev-2.6.orig/drivers/net/sky2.c 2007-04-07 15:11:02.0 -0700
+++ netdev-2.6/drivers/net/sky2.c 2007-04-07 15:11:21.0 -0700
@@ -1561,6 +1561,7 @@
/* Stop more pac
Some of these chips are disabled until clock is enabled.
This fixes:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404107
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- netdev-2.6.orig/drivers/net/sky2.c 2007-04-07 15:11:48.0 -0700
+++ netdev-2.6/drivers/net/sky2.c
These match the recent patches submitted for 2.6.21
--
-
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
The workaround Yukon EC-U wasn't comparing with correct
version and wasn't doing correct setup. Without it, 88e8056
throws all sorts of errors.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- linux-2.6.20.y.orig/drivers/net/sky2.c 2007-04-07 15:56:37.0
-0700
+++ linux-2.6.2
These are little bug fixes found on skge/sky2 driver.
I based these on netdev-2.6#upstream-fixes
--
-
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
The workaround Yukon EC-U wasn't comparing with correct
version and wasn't doing correct setup. Without it, 88e8056
throws all sorts of errors.
Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
--- netdev-2.6.orig/drivers/net/sky2.c 2007-04-07 15:12:55.0 -0700
+++ netdev-2.6/drivers/n
On Sat, 07 Apr 2007 21:43:17 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] napisał(a):
> > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to
> >
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz
> >
[EMAIL PROTECTED] napisał(a):
> The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to
>
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz
>
> It contains the following patches against 2.6.21-rc6:
suspend-to-disk doesn't work when pk
This change allows RF drivers to provide their own 6M band edge patching
implementation, while providing a generic implementation shared by most
currently supported RF's.
The upcoming ZD1211B/AL7230B code will use this to define its own
patching function, which is different from the other RF confi
This patch adds support for some new ZD1211B devices which ship with
the AL7230B RF.
Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
zd_rf_al7230b.c | 317 ++-
1 files changed, 267 insertions(+), 50 deletions(-)
Index: linux/drivers/net/wi
Tested by Christoph Sager and Tomas Klas
zd1211b chip 0586:3412 v4810 high 00-13-49 AL7230B_RF pa0 g
Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
zd_usb.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Index: linux/drivers/net/wireless/zd1211rw/zd_usb.c
==
Tested by Christoph Sager and Tomas Klas
zd1211b chip 0586:3412 v4810 high 00-13-49 AL7230B_RF pa0 g
Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
drivers/net/wireless/mac80211/zd1211rw/zd_usb.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wirele
This patch adds support for some new ZD1211B devices which ship with
the AL7230B RF.
Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
---
.../net/wireless/mac80211/zd1211rw/zd_rf_al7230b.c | 317 ---
1 files changed, 267 insertions(+), 50 deletions(-)
diff --git a/drivers/net/wir
This change allows RF drivers to provide their own 6M band edge patching
implementation, while providing a generic implementation shared by most
currently supported RF's.
The upcoming ZD1211B/AL7230B code will use this to define its own
patching function, which is different from the other RF confi
Eric W. Biederman wrote:
Ben Greear <[EMAIL PROTECTED]> writes:
I guess that will do, but then if you ever change the strings, any user-space
that is
depending on this will break or have to be modified with additional cruft. It
seems
cleaner to me to have an ioctl or a specific place in /pr
26 matches
Mail list logo