| From | Subject | Date |
|---|---|---|
| glenn_engel | natsemi.c ioctl fix or mii register access
Hi,
I recently discovered the ioctl implementation in natsemi.c had a few bugs in dealing with the user ioctls to send and receive MII commands (SIOCGMIIPHY and SIOCSMIIPHY).
The specific problems noted and fixed:
1. The if_mii macro casts it's return to be (struct mii_ioctl_data *) but in reality it returns a pointer to the user space pointer (struct mii_ioctl_data**). This looks to be a problem with the mii_macro to me. I changed this to use the ifr_data macro instead.
2. Since the mii_ioc...
| May 15, 7:23 pm 2008 |
| Andy Fleming | [PATCH v2.6.26] ucc_geth: Fix arguments to dma map/unmap fun...
We were passing NULL as the device. When we actually start supporting
more interesting memory configurations, this will break things, so
we proactively are fixing the bug.
Signed-off-by: Andy Fleming <afleming@freescale.com>
---
drivers/net/ucc_geth.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index b3bbb2d..28e6450 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -237,7 +237,7 @@ s...
| May 15, 6:00 pm 2008 |
| Kingsley Foreman | Re: NET_SCHED cbq dropping too many packets on a bonding int...
--------------------------------------------------
From: "Jarek Poplawski" <jarkao2@gmail.com>
Sent: Friday, May 16, 2008 4:16 AM
To: "Patrick McHardy" <kaber@trash.net>
Cc: "Kingsley Foreman" <kingsley@internode.com.au>; "Eric Dumazet"
<dada1@cosmosbay.com>; "Andrew Morton" <akpm@linux-foundation.org>;
<linux-kernel@vger.kernel.org>; <netdev@vger.kernel.org>
running
tc qdisc add dev bond0 root pfifo limit 1000
or
tc qdisc add dev bond0 root ...
| May 15, 5:27 pm 2008 |
| Christophe Jaillet | [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffies()...
From: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Hi, here is a patch against linux/drivers/net/r6040.c.
Compared to other places in the kernel, I think that this driver misuses
the function round_jiffies.
Note: this patch is based on 'linux-2.6.25.tar.bz2'
Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
---
--- linux 2.6.25/drivers/net/r6040.c 2008-05-15 23:21:28.000000000 +0200
+++ linux 2.6.25/drivers/net/r6040.c.cj 2008-05-15 22:16:44.000000000 ...
| May 15, 5:26 pm 2008 |
| Arjan van de Ven | Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffi...
On Thu, 15 May 2008 23:26:22 +0200
good catch!
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
--
| May 15, 5:43 pm 2008 |
| Florian Fainelli | Re: [PATCH 1/1] /drivers/net/r6040.c: bad use of round_jiffi...
Hello Christophe,
Acked-by: Florian Fainelli <florian.fainelli@telecomint.eu>
--
| May 15, 5:31 pm 2008 |
| David Miller | Re: TAHI IPv6 testing of kernel 2.6.20
From: William Seppeler <wrs@pt.com>
Date: Thu, 15 May 2008 15:21:14 -0400
You'll get a lot more feedback from the networking developers
if you actually send it to the list they subscribe to.
--
| May 15, 5:11 pm 2008 |
| Nate Case | [PATCH v3] PHYLIB: Add 1000Base-X support for Broadcom bcm5482
Configure the BCM5482S secondary SerDes for 1000Base-X mode when the
appropriate dev_flags are passed in to phy_connect(). This is
needed when the PHY is used for fiber and backplane connections.
Signed-off-by: Nate Case <ncase@xes-inc.com>
---
drivers/net/phy/broadcom.c | 204 +++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 202 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index 60c5cfe..01a9f76 100644
--- a/drivers/ne...
| May 15, 5:05 pm 2008 |
| Nicolas 2P | [patch] bondig - arp_interval with low value => Oops.
When setting arp_interval parameter to a very low value, delta_in_ticks
for next arp might become 0, causing an infinite loop.
See http://bugzilla.kernel.org/show_bug.cgi?id=10680
Same problem for miimon parameter already fixed, but fix might be
enhanced, by using msecs_to_jiffies() function.
Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
--- /usr/src/linux/drivers/net/bonding/bond_main_orig.c 2008-05-13
02:00:01.000000000 +0200
+++ /usr/src/linux/drivers/net/bondin...
| May 15, 4:34 pm 2008 |
| John W. Linville | pull request: wireless-2.6 2008-05-15
David,
Another quick round of fixes intended for 2.6.26...
Thanks!
John
---
Individual patches are available here:
http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/
---
The following changes since commit 066b2118976e6e7cc50eed39e2747c75343a23c4:
Marcin Slusarz (1):
isdn/capi: Return proper errnos on module init.
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Abhijeet Kol...
| May 15, 3:53 pm 2008 |
| Alan Swanson | IPSEC IPV4 Tunnel Requires IPV6 WIth 2.6.25?
Hi. Usual non-subscriber CC replies request please.
There is a problem with 2.6.25(.4) using IPSEC on ipv4. You seem to need
to have ipv6 available otherwise a protocol not supported error is
returned when trying to set a Security Association Database. I'm using
setkey on a file but another user on the ipsec-tools-devel list reported
the same issue using racoon.
http://marc.info/?l=ipsec-tools-devel&m=121015164014761&w=2
So with modules loaded you expect to work.
$ lsmod
Module...
| May 15, 4:09 pm 2008 |
| Oliver Neukum | [patch] resource leak in error case in rtl8187 #2
Hi,
this fixes resource leaks in error cases due to urb submission failures.
Regards
Oliver
Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
--- linux-2.6.26-rc1/drivers/net/wireless/rtl8187_dev.c.alt 2008-05-15 15:53:58.000000000 +0200
+++ linux-2.6.26-rc1/drivers/net/wireless/rtl8187_dev.c 2008-05-15 21:42:02.000000000 +0200
@@ -92,6 +92,7 @@ static void rtl8187_iowrite_async(struct
u8 data[4];
struct usb_ctrlrequest dr;
} *buf;
+ int rc;
buf = kmalloc(sizeof...
| May 15, 3:49 pm 2008 |
| Pavel Emelyanov | [PATCH][IRDA]: Sock leak on error path in irda_create.
Bad type/protocol specified result in sk leak.
Fix is simple - release the sk if bad values are given,
but to make it possible just to call sk_free(), I move
some sk initialization a bit lower.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
---
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c
index ae54b20..3eb5bcc 100644
--- a/net/irda/af_irda.c
+++ b/net/irda/af_irda.c
@@ -1093,11 +1093,6 @@ static int irda_create(struct net *net, struct socket *sock, int protocol)
ini...
| May 15, 1:58 pm 2008 |
| Andi Kleen | Re: [PATCH 9/15] BE NIC driver - Linux system abstraction fi...
We do not recommend it, but recommend to write Linux
specific drivers. Operating systems are quite different and you
get far better drivers if you really optimize them for specific OS.
That's especially important for performance critical drivers like
yours for high speed networking.
Also splitting drivers into generic and OS specific parts typically
leads to poor and overcomplicated design.
Anyways if you really want abstraction elsewhere then use the Linux
names for it. But it's really not r...
| May 15, 1:49 pm 2008 |
| Stephen Hemminger | Re: [PATCH 9/15] BE NIC driver - Linux system abstraction fi...
On Thu, 15 May 2008 19:49:27 +0200
The underlying reason for this is the Linux kernel developers hatred
of abstraction layers is long term maintenance. Once a driver is accepted
into the mainline, the kernel developers may have to do maintenance on
the driver to fix API's or if the original hardware vendor abandons it.
All the abstraction layer just makes this harder. Some drivers do have
some OS independent portions but they are rare, and usually abstract the
hardware not the device model.
--
| May 15, 4:22 pm 2008 |
| Anton Vorontsov | [PATCH] [NET] uli526x: add support for netpoll
This patch adds netpoll support for the uli526x ethernet driver --
simply call the interrupt handler for polling.
To do this without disable_irq()/enable_irq() pair we should fully
protect the handler. Luckily, it's already using irqsave spinlock,
the only unprotected place is interrupts re-enabling write. It was
safe to re-enable interrupts without holding the spinlock, but with
netpoll possibility now it doesn't seem so.
Patch was tested using netconsole and KGDBoE.
Signed-off-by: Anton Voro...
| May 15, 11:12 am 2008 |
| Florian Fainelli | Re: [PATCH] [NET] uli526x: add support for netpoll
Hello Anton,
You do not need to wrap this function into the ifdef, since setting the poll
callback is between ifdef. Otherwise patch looks good.
--
Cordialement, Florian Fainelli
------------------------------
--
| May 15, 4:51 pm 2008 |
| Oliver Neukum | [patch] resource leak in error case in rtl8187
Hi,
this fixes a resource leak in the error case of the write code path.
Regards
Oliver
Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
--- linux-2.6.26-rc1/drivers/net/wireless/rtl8187_dev.c.alt 2008-05-15 15:53:58.000000000 +0200
+++ linux-2.6.26-rc1/drivers/net/wireless/rtl8187_dev.c 2008-05-15 15:57:35.000000000 +0200
@@ -169,6 +169,7 @@ static int rtl8187_tx(struct ieee80211_h
struct urb *urb;
__le16 rts_dur = 0;
u32 flags;
+ int rv;
urb = usb_alloc_urb(0, ...
| May 15, 10:17 am 2008 |
| John W. Linville | Re: [patch] resource leak in error case in rtl8187
Don't we need the same type of fix applied to rtl8187_iowrite_async
as well? Would you like to resubmit (or submit a second patch)
with that fix included?
Also, a nit: I would prefer "rc" instead of "rv" just for idiomatic
purposes.
John
--
John W. Linville
linville@tuxdriver.com
--
| May 15, 2:57 pm 2008 |
| Oliver Neukum | Re: [patch] resource leak in error case in rtl8187
Indeed. A new redone patch is on the way. Please disregard the earlier patch.
Regards
Oliver
--
| May 15, 3:46 pm 2008 |
| Julius Volz | Kernel panic in IPv6 / Netlink code
Hi,
I managed to panic two local net-2.6 UML instances right after another
by sending possibly bad IPv6 UDP packets to them. A couple of points
to note:
- tcpdump was running in promiscuous mode on the crashed hosts at the time
- "nc6 -u -l -p 80" was running on the crashed hosts and the packets
were addressed to this port
- the address used to receive the packets was not a valid IPv6 unicast
address, it was 1::1 on dummy0
- no iptables rules
I sadly couldn't reproduce the problem after rebo...
| May 15, 9:48 am 2008 |
| Olaf Hering | dead network on JS21 with tg3 driver after flowcontrol changes
Commit ef167e27039eeaea6d3cdd5c547b082e89840bdd ([TG3]: Fix supporting
flowctrl code) breaks networking on IBM JS21 blade servers. If I revert
this change from 2.6.26-rc2-git4, nfsroot for example will work again.
There are no packages submitted, a tcpdump on a different host sees no
broadcast messages.
Any ideas how to fix this?
What info do you need from the system?
I started with arch/powerpc/configs/ppc64_defconfig and updated CONFIG_CMDLINE
for nfsroot.
....
tg3.c:v3.92 (May 2, 2008)
t...
| May 15, 8:13 am 2008 |
| Matt Carlson | Re: dead network on JS21 with tg3 driver after flowcontrol c...
If you were to start with the original file, does the following patch
fix the problem?
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 07b3f77..4c248d7 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -3168,8 +3168,7 @@ static int tg3_setup_fiber_mii_phy(struct tg3 *tp, int force_reset)
err |= tg3_readphy(tp, MII_BMCR, &bmcr);
if ((tp->link_config.autoneg == AUTONEG_ENABLE) && !force_reset &&
- (tp->tg3_flags2 & TG3_FLG2_PARALLEL_DETECT...
| May 15, 1:15 pm 2008 |
| Michael Chan | Re: dead network on JS21 with tg3 driver after flowcontrol c...
Matt, I think that's very likely the problem. If we are trying to
establish link in parallel detect mode, the flow control settings may
not match. If we do not enter the if statement to do nothing, we will
keep autonegotiating forever and never establish link.
--
| May 15, 3:51 pm 2008 |
| Michael Chan | Re: dead network on JS21 with tg3 driver after flowcontrol c...
Are you using eth0 or eth1? The dmesg below shows that
If you're using eth0 and link did not come up, please provide
mii-tool -vvv eth0.
Thanks.
--
| May 15, 11:10 am 2008 |
| Olaf Hering | Re: dead network on JS21 with tg3 driver after flowcontrol c...
I'm using eth1.
The log was done with the patch reverted.
--
| May 15, 11:49 am 2008 |
| Michael Chan | Re: dead network on JS21 with tg3 driver after flowcontrol c...
In that case, please re-apply the patch and provide mii-tool -vvv eth1.
--
| May 15, 1:37 pm 2008 |
| Kingsley Foreman | Re: NET_SCHED cbq dropping too many packets on a bonding int...
i just rolled back the kernel to 2.6.24 and im seeing the same thing,
I was using 2.6.22 before and didn't see the problem, txqueuelen on the
bond0 interface is 0 (the default)
--------------------------------------------------
From: "Jarek Poplawski" <jarkao2@gmail.com>
Sent: Thursday, May 15, 2008 6:42 PM
To: "Kingsley Foreman" <kingsley@internode.com.au>
Cc: "Eric Dumazet" <dada1@cosmosbay.com>; "Andrew Morton"
<akpm@linux-foundation.org>; <linux-kernel@vger.kerne...
| May 15, 6:06 am 2008 |
| Patrick McHardy | Re: NET_SCHED cbq dropping too many packets on a bonding int...
That might explain things, although it shouldn't have worked before
either.
CBQ creates default pfifo qdiscs for its leaves, these use a limit
of txqueuelen or 1 if it is zero. So even small bursts will cause
drops. Do things improve if you set txqueuelen to a larger value
*before* configuring the qdiscs?
Another thing is that CBQ on bond will probably not work properly
at all, it needs a real device since it measures the timing between
dequeue events for idle time estimation. On software devi...
| May 15, 12:09 pm 2008 |
| Jarek Poplawski | Re: NET_SCHED cbq dropping too many packets on a bonding int...
On Thu, May 15, 2008 at 06:09:36PM +0200, Patrick McHardy wrote:
BTW, I hope it was *before*, but since pfifo_fast_enqueue() uses
"qdisc->dev->tx_queue_len" does it really matter? (Until it's
before the test of course...)
Jarek P.
--
| May 15, 2:25 pm 2008 |
| Patrick McHardy | Re: NET_SCHED cbq dropping too many packets on a bonding int...
Yes, CBQ uses pfifo, not pfifo_fast. pfifo uses txqueuelen
to inialize q->limit, but thats whats used during ->enqueue().
--
| May 15, 2:32 pm 2008 |
| Jarek Poplawski | Re: NET_SCHED cbq dropping too many packets on a bonding int...
...My bad! I missed this and this (only!?) seems to explain this
puzzle. So, I hope it was really because *not before* (and not only
size matters...)
Thanks,
Jarek P.
--
| May 15, 2:46 pm 2008 |
| Jarek Poplawski | Re: NET_SCHED cbq dropping too many packets on a bonding int...
Kingsley wrote to me that even after changing txqueuelen to 1000 the
"dropped" number didn't change much. A debugging patch with printks
around all "sch->qstats.dropps++" showed only the end of cbq_enqueue().
Right, but these drops without any sign of overactions or overlimits
seem to show it's not about shaping (or it's not counted/documented
enough).
Regards,
Jarek P.
--
| May 15, 2:09 pm 2008 |
| Patrick McHardy | Re: NET_SCHED cbq dropping too many packets on a bonding int...
Thats where packets dropped by default pfifo would be accounted.
Yes, these drops are probably unrelated, just thought I mention it.
--
| May 15, 2:14 pm 2008 |
| Patrick McHardy | Re: NET_SCHED cbq dropping too many packets on a bonding int...
Did you also update iproute when moving to a newer kernel?
--
| May 15, 11:59 am 2008 |
| Jarek Poplawski | Re: NET_SCHED cbq dropping too many packets on a bonding int...
On Thu, May 15, 2008 at 07:36:54PM +0930, Kingsley Foreman wrote:
So, could you try if the size matters here...?
Jarek P.
--
| May 15, 6:29 am 2008 |
| Subbu Seetharaman | [PATCH 15/15] BE NIC driver - Kconfig, Makefile etc.
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
MAINTAINERS | 7 +++++++
drivers/net/Kconfig | 17 +++++++++++++++++
drivers/net/Makefile | 1 +
3 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index bc1c008..95de067 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3593,6 +3593,13 @@ L: linux-ide@vger.kernel.org
T: git kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git
S: Supported
+SERVER ENGINES 1...
| May 15, 5:54 am 2008 |
| Subbu Seetharaman | [PATCH 14/15] BE NIC driver - f/w header files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/fw/be_gen_id_ranges.h | 231 +++++++++++++
drivers/message/beclib/fw/bmap/host_struct_bmap.h | 38 +++
drivers/message/beclib/fw/bmap/ioctl_eth_bmap.h | 359 +++++++++++++++++++++
drivers/message/beclib/fw/bmap/ioctl_top_bmap.h | 40 +++
4 files changed, 668 insertions(+), 0 deletions(-)
create mode 100755 drivers/message/beclib/fw/be_gen_id_ranges.h
create mode 100644 drivers/message/becli...
| May 15, 5:53 am 2008 |
| Subbu Seetharaman | [PATCH 13/15] BE NIC driver - f/w header files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/fw/bmap/be_common_bmap.h | 99 +++
drivers/message/beclib/fw/bmap/ioctl_common_bmap.h | 921 ++++++++++++++++++++
drivers/message/beclib/fw/bmap/ioctl_hdr_bmap.h | 68 ++
drivers/message/beclib/fw/bmap/ioctl_types_bmap.h | 43 +
4 files changed, 1131 insertions(+), 0 deletions(-)
create mode 100644 drivers/message/beclib/fw/bmap/be_common_bmap.h
create mode 100644 drivers/message/beclib/fw/b...
| May 15, 5:51 am 2008 |
| Subbu Seetharaman | [PATCH 12/15] BE NIC driver - f/w header files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/fw/amap/ioctl_defs.h | 101 +++
drivers/message/beclib/fw/amap/ioctl_eth.h | 72 +++
drivers/message/beclib/fw/amap/ioctl_hdr.h | 80 +++
drivers/message/beclib/fw/amap/ioctl_mcc.h | 109 ++++
drivers/message/beclib/fw/amap/ioctl_opcodes.h | 791 ++++++++++++++++++++++++
drivers/message/beclib/fw/amap/ioctl_top.h | 44 ++
drivers/message/beclib/fw/amap/ioctl_types.h | 450 +++...
| May 15, 5:46 am 2008 |
| Stephen Hemminger | Re: [PATCH 12/15] BE NIC driver - f/w header files
On Thu, 15 May 2008 02:46:14 -0700
No, a large device specific management interface using ioctl's (with no documentation)
is not going to be accepted.
--
| May 15, 4:25 pm 2008 |
| Subbu Seetharaman | [PATCH 11/15] BE NIC driver - f/w header files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/fw/amap/ioctl_common.h | 1614 +++++++++++++++++++++++++
drivers/message/beclib/fw/amap/pcicfg.h | 839 +++++++++++++
2 files changed, 2453 insertions(+), 0 deletions(-)
create mode 100644 drivers/message/beclib/fw/amap/ioctl_common.h
create mode 100644 drivers/message/beclib/fw/amap/pcicfg.h
diff --git a/drivers/message/beclib/fw/amap/ioctl_common.h b/drivers/message/beclib/fw/amap/ioctl_common.h...
| May 15, 5:44 am 2008 |
| Subbu Seetharaman | [PATCH 10/15] BE NIC driver - f/w header files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/fw/amap/asyncmesg.h | 98 ++++++++++
drivers/message/beclib/fw/amap/be_cm.h | 148 +++++++++++++++
drivers/message/beclib/fw/amap/be_common.h | 67 +++++++
drivers/message/beclib/fw/amap/cev.h | 261 ++++++++++++++++++++++++++
drivers/message/beclib/fw/amap/descriptors.h | 85 +++++++++
drivers/message/beclib/fw/amap/doorbells.h | 193 +++++++++++++++++++
drivers/message/beclib/...
| May 15, 5:30 am 2008 |
| Subbu Seetharaman | [PATCH 9/15] BE NIC driver - Linux system abstraction files
Signed-off-by: Subbu Seetharaman <subbus@serverengines.com>
---
drivers/message/beclib/sa/sa.c | 97 ++++
drivers/message/beclib/sa/sa.h | 1046 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 1143 insertions(+), 0 deletions(-)
create mode 100644 drivers/message/beclib/sa/sa.c
create mode 100644 drivers/message/beclib/sa/sa.h
diff --git a/drivers/message/beclib/sa/sa.c b/drivers/message/beclib/sa/sa.c
new file mode 100644
index 0000000..b0f14da
--- /dev/null
+++ b/drivers/m...
| May 15, 5:26 am 2008 |
| Andi Kleen | Re: [PATCH 9/15] BE NIC driver - Linux system abstraction fi...
Sorry, pretty much this complete file has to go and the callers
be fixed to use the native Linux functions directly. Some of it
was even wrong, like it's not legal to cast atomic_t like you did.
Also a lot of facilities you reimplement here exist already in Linux
Hmm was i even allowed to read it?
-Andi
--
| May 15, 7:33 am 2008 |
| Jeff Garzik | Re: [PATCH 9/15] BE NIC driver - Linux system abstraction fi...
Quite agreed (speaking as net driver maintainer)
Jeff
--
| May 15, 1:33 pm 2008 |
| YOSHIFUJI Hideaki / | [PATCH net-2.6 4/4] [IPV6] ADDRCONF: Allow longer lifetime o...
Allow longer lifetimes (>= 0x7fffffff/HZ) on 64bit archs
by using unsigned long.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
---
net/ipv6/addrconf.c | 22 +++++++++++++++++++---
net/ipv6/route.c | 4 +++-
2 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 3a78021..0d89370 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -731,8 +731,11 @@ static void ipv6_del_addr(struct inet6_ifaddr *ifp)...
| May 15, 5:18 am 2008 |
| YOSHIFUJI Hideaki / | [PATCH net-2.6 3/4] [IPV6] ADDRCONF: Allow infinite prefix l...
We need to handle infinite prefix lifetime specially.
With help from original reporter "Bonitch, Joseph"
<Joseph.Bonitch@xerox.com>.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
---
net/ipv6/addrconf.c | 73 ++++++++++++++++++++++++++++++++++----------------
net/ipv6/route.c | 4 ++-
2 files changed, 52 insertions(+), 25 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index e591e09..3a78021 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/...
| May 15, 5:18 am 2008 |
| YOSHIFUJI Hideaki / | [PATCH net-2.6 2/4] [IPV6] ROUTE: Fix lifetime in netlink.
We could not see appropriate lifetime if the route had been scheduled
to expired at 0 (in jiffies). We should check rt6i_flags instead of
rt6i_expires to determine whether lifetime is valid or not.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
---
net/ipv6/route.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 98aa50c..b45a7c0 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2200,7 +2200,9 @@ st...
| May 15, 5:18 am 2008 |
| YOSHIFUJI Hideaki / | [PATCH net-2.6 1/4] [IPV6] ADDRCONF: Fix route lifetime sett...
Because of arithmetic overflow avoidance, the actual lifetime setting
(vs the value given by RA) did not increase monotonically around
0x7fffffff/HZ.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
---
net/ipv6/route.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 12bba08..98aa50c 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -475,7 +475,7 @@ int rt6_route_rcv(struct net_device *dev, u8 *opt, int ...
| May 15, 5:17 am 2008 |
| previous day | today | next day |
|---|---|---|
| May 14, 2008 | May 15, 2008 | May 16, 2008 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH iproute2] Re: HTB accuracy for high speed |
