| From | Subject | Date |
|---|---|---|
| Jay Cliburn | [net-next-2.6] Null pointer dereference in dev_gso_skb_d ...
It appears as though the following net-next-2.6 commit (pulled Oct 1
2008) exposes a null pointer dereference in
dev.c:dev_gso_skb_destructor().
commit 242f8bfefe4bed626df4e4727ac8f315d80b567a
Author: David S. Miller <davem@davemloft.net>
Date: Mon Sep 22 22:15:30 2008 -0700
pkt_sched: Make qdisc->gso_skb a list.
The idea is that we can use this to get rid of
->requeue().
Signed-off-by: David S. Miller <davem@davemloft.net>
From what I can tell, ...
| Oct 5, 11:24 am 2008 |
| Arjan van de Ven | [patch] uniquify the tx_timeout name
Hi,
there's several drivers that have use "tx_timeout" for the .. tx timeout function.
All fine with that, they're static, however for doing stats on how often which driver
hits the timeout it's a tad unfortunate. The patch below gives the ones I found
in the kerneloops.org database unique names.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
diff --git a/drivers/net/fealnx.c b/drivers/net/fealnx.c
index 3c1364d..b455ae9 100644
--- a/drivers/net/fealnx.c
+++ ...
| Oct 5, 10:35 am 2008 |
| Denys Fedoryshchenko | Re: 802.1p, skb->priority, CoS for transit traffic not w ...
Seems my silly mistake, i used wrong option in skbedit (first which i seen in
example).
Thanks to Intel guys, now it is possible also by this way:
tc qdisc del dev eth2.10 root
tc qdisc add dev eth2.10 root handle 1: prio
/sbin/tc filter add dev eth2.10 parent 1:0 protocol all u32 match u32 0 0
action skbedit priority 3
So it is possible now to do 802.1p marking on router(not bridge), by u32
filter or whatever.
tc qdisc del dev eth2.10 root
tc qdisc add dev eth2.10 root handle 1: ...
| Oct 5, 12:03 pm 2008 |
| Denys Fedoryshchenko | 802.1p, skb->priority, CoS for transit traffic not working?
I'm trying to set CoS tag, to manage priorities on my microwave link.
Possible such setup will be very useful also to set classify traffic passing
QoS. A lot of hardware support this simple L2 QoS.
Hardware: RTL8139, since it doesn't have VLAN tags acceleration, i can use
tcpdump to see priority flag.
Commands i did to setup test VLAN,
vconfig add eth2 10
ifconfig eth2.10 3.3.3.3 netmask 255.255.255.0
vconfig set_egress_map eth2.10 1 1
vconfig set_egress_map eth2.10 2 2
vconfig ...
| Oct 5, 9:35 am 2008 |
| Patrick McHardy | Re: 802.1p, skb->priority, CoS for transit traffic not w ...
Bridging traffic to a VLAN device should work, you can then
define the priority for the device. I'm not aware of an easier
method, but I believe act_pedit should also be able to do this.
--
| Oct 5, 9:56 am 2008 |
| David Brownell | [patch 2.6.27-rc8] drivers/net/usb/Makefile - shrink logspam
From: David Brownell <dbrownell@users.sourceforge.net>
When building with CONFIG_USB_DEBUG, don't create logspam from
the USB networking drivers.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
--- a/drivers/net/usb/Makefile
+++ b/drivers/net/usb/Makefile
@@ -19,6 +19,3 @@ obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
obj-$(CONFIG_USB_NET_MCS7830) += mcs7830.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
-ifeq ($(CONFIG_USB_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
--
| Oct 5, 1:11 am 2008 |
| David Miller | Re: netdrv: Fix unregister_netdev typos
From: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks Herbert.
--
| Oct 5, 9:20 am 2008 |
| Herbert Xu | netdrv: Fix unregister_netdev typos
Hi Dave:
netdrv: Fix unregister_netdev typos
Found during the (partial) unregister_netdevice audit that we didn't
have to have :)
It looks like a couple of Sun NIC drivers had unregister_netdevice
when they really meant unregister_netdev.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cheers,
--
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: ...
| Oct 4, 9:30 pm 2008 |
| Jesse Brandeburg | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
are you still getting WARN_ON *with* all the mutex based fixes already applied?
with the mutex patches in place (without protection patch) we are
still reproducing the issue, until we apply the set_memory_ro patch.
I had no luck on friday setting a hardware breakpoint on memory access
with kgdb to catch the writer with a breakpoint.
--
| Oct 4, 6:24 pm 2008 |
| Thomas Gleixner | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
Hmm, don't we check the *to address on copy_to_user ?
Thanks,
tglx
--
| Oct 5, 9:16 am 2008 |
| Thomas Gleixner | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
The WARN_ON triggers with current mainline. Is there any fixlet in
That does not make sense to me. If the memory_ro patch is providing
_real_ protection then you _must_ run into an access violation. If not,
then the patch just papers over the real problem in some mysterious
way.
The patch does:
+ set_memory_rw((unsigned long)hw->flash_address,
+ hw->flash_len >> PAGE_SHIFT);
writew(val, hw->flash_address + reg);
+ set_memory_ro((unsigned long)hw->flash_address,
+ ...
| Oct 5, 1:51 am 2008 |
| Arjan van de Ven | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
On Sun, 5 Oct 2008 17:55:14 +0200 (CEST)
I meant a "copy_to_user" to a duff pointer, somewhere in the kernel.
--
| Oct 5, 9:02 am 2008 |
| Arjan van de Ven | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
not if the bad code is doing copy_to_user .... (or similar)
--
| Oct 5, 8:05 am 2008 |
| Arjan van de Ven | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
On Sun, 5 Oct 2008 18:16:29 +0200 (CEST)
fair point
and we do exception catching for copy_from_user as well on the source,
just by how it's implemented
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Oct 5, 10:01 am 2008 |
| Thomas Gleixner | Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
You mean: copy_from_user :) This would require that the e1000e
nvram region is writable via copy_from_user by an e1000e user space
interface. A quick grep does not reviel such a horrible interface.
Thanks,
tglx
--
| Oct 5, 8:55 am 2008 |
| Evgeniy Polyakov | Re: 2.6.27-rc8-git7: Reported regressions from 2.6.26
Hi.
Yes, that's the point, TSO over loopback for big packets or workload
where there packets can be easily combined into big one results in a
fair performance improvement, but for small packets it regresses about
5-10 %. And yes, there are yet unresolved changes which caused bigger
performance degradation.
--
Evgeniy Polyakov
--
| Oct 5, 5:05 am 2008 |
| Evgeniy Polyakov | Re: 2.6.27-rc8-git7: Reported regressions from 2.6.26
Hi.
Just for the reference, this one regresses from the 2.6.23. Particular
2.6.26-27 part can be partially fixed by disabling TSO/GSO, since tbench
workload issues quite small packets, and system has no time to
incorporate them into particulary big TSO/GSO frame to get advantage of
this technology. The most noticeble perfromance drop was between 23 and
This one is different, but any other benchmark related to network over
loopback (and in some case over other media) performance ...
| Oct 5, 12:14 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc8-git7: Reported regressions from 2.6.26
Still, tbench results from 2.6.26 are better than from 2.6.27-rc.
That's why it's still on the list, but if you think that's not relevant, please
let me know and I'll drop it.
Thanks,
Rafael
--
| Oct 5, 4:02 am 2008 |
| Evgeniy Polyakov | Re: 2.6.27-rc8-git7: Reported regressions from 2.6.26
I meant it continuously regresses from .23 including 26-27 timeframe.
There were at least two changes in 26-27 which caused tbench regression
in this particular time interval. One of them enabled TSO over loopback
by default, so one can turn it off via ethtools or this patch:
http://marc.info/?l=linux-netdev&m=122263663631600&w=2
another (hopefully) one I'm trying to find out, which is a bit complex
and slow, since e1000 driver changes in the middle of the 26-27
timeframe does not allow my ...
| Oct 5, 5:01 am 2008 |
| Herbert Xu | Re: 2.6.27-rc8-git7: Reported regressions from 2.6.26
Note that 2.6.27 beats 2.6.26 by 30% with bulk traffic over
loopback as opposed to the small packets sent by tbench where
I saw a 5% drop in performance on my machine.
So I'm not sure whether this should really be classified as
a regression if we limit ourselves to the changes between 26
and 27.
The changes prior to 26 seem to be more significant.
Chyeers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: ...
| Oct 5, 4:49 am 2008 |
| David Miller | Re: [PATCH 0/6] Phonet pipes protocol (take 3)
From: "Rémi Denis-Courmont" <remi.denis-courmont@nokia.com>
All applied to net-next-2.6, thanks!
--
| Oct 5, 11:30 am 2008 |
| David Miller | Re: [PATCH] XFRM: MIGRATE enhancements
From: arno@natisbad.org (Arnaud Ebalard)
Applied to net-next-2.6, thanks!
--
| Oct 5, 1:40 pm 2008 |
| Thomas Gleixner | Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
n Sun, 5 Oct 2008, D
| Oct 5, 11:09 am 2008 |
| Dâniel | Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
On Fri, 3 Oct 2008 00:19:08 +0300 (EEST)
Here we go folks, good and bad news:
1) the good news is that the Thomas' patch detected the stall, but...
2)
Oct 5 14:23:03 teleporto vmunix: Tracer stopped
Oct 5 14:23:13 teleporto last message repeated 2 times
if it had really stopped, the message wouldn't be repeated 2
times.
and
fraga@teleporto ~$ cat /debug/tracing/tracing_enabled
1
In other words, the tracing wasn't really stopped.
So I couldn't get what Thomas want. ...
| Oct 5, 10:52 am 2008 |
| Dâniel | Re: [PATCH] tcp FRTO: in-order-only "TCP proxy" fragilit ...
On Sun, 5 Oct 2008 20:09:22 +0200 (CEST)
Ok, here they are (I hope one of them is correct):
http://www.abusar.org/ftrace/
These ones I get after I saw the kernel message "Tracer
stopped".
http://www.abusar.org/ftrace/trace.txt.bz2
http://www.abusar.org/ftrace/trace2.txt.bz2
http://www.abusar.org/ftrace/trace3.txt.bz2
http://www.abusar.org/ftrace/trace4.txt.bz2
http://www.abusar.org/ftrace/trace5.txt.bz2
These ones were during a stall and after a ...
| Oct 5, 12:31 pm 2008 |
| Herbert Xu | Re: [PATCH] net: implement emergency route cache rebulds ...
Actually Andrew Dickson <whydna@whydna.net> came up with this idea
quite a while ago: Keep the rehash interval but do nothing until
some chain hits a specified length. This is quite similar to
what is being discussed here.
Andrew, could you post the patch please?
In addition to this, we should probably enforce that limit as
well by simply not adding the newly created entry or deleting
one forcibly.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} ...
| Oct 4, 8:26 pm 2008 |
| Andrew Dickinson | Re: [PATCH] net: implement emergency route cache rebulds ...
I've got another patch that takes a different approach... Instead of
disabling the secret_interval timer or trying to heuristically guess
when we're under attack, we continue to invalidate the cache; we just
invalidate it with kid-gloves instead of a sledge hammer.
Like we do today, we continue to update the genid every time the
secret_interval timer expires. Instead of simply creating a new value
(and thus invalidating the entire cache), we keep a short history of
genid values (I'm thinking ...
| Oct 5, 11:06 am 2008 |
| Herbert Xu | Re: [PATCH] net: implement emergency route cache rebulds ...
OK we don't actually enforce that as it stands, but perhaps we
should have a maximum chain length that is enforced.
Cheers,
--
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
--
| Oct 4, 8:20 pm 2008 |
| Herbert Xu | Re: [PATCH] net: implement emergency route cache rebulds ...
This is completely bogus. We never allow any chain to grow beyond
the elasticity. So in the worst case we just bypass the route cache.
Cheers,
--
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
--
| Oct 4, 8:17 pm 2008 |
| Andrew Dickinson | Re: [PATCH] net: implement emergency route cache rebulds ...
Here's the patch that Herbert's referring to. The basic idea is that
we have a flag which indicates whether or not we need to invalidate
the route cache. If any chain exceeds gc_elasticity, we set the flag
and reschedule the timer. In the worst-case, we'll invalidate the
route cache once every secret_interval; in the best-case, we never
invalidate the cache.
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index a6ed838..82baf68 100644
--- a/include/net/netns/ipv4.h
+++ ...
| Oct 4, 9:45 pm 2008 |
| David Miller | Re: [PATCH] net: implement emergency route cache rebulds ...
From: "Andrew Dickinson" <whydna@whydna.net>
This is a very interesting patch and idea, but...
Eric showed clearly that on a completely normal well loaded
system, the chain lengths exceed the elasticity all the time
and it's not like these are entries we can get rid of because
their refcounts are all > 1
--
| Oct 5, 10:34 am 2008 |
| Stephen Hemminger | Re: [PATCH] net: deadlock during net device unregistration
On Sun, 5 Oct 2008 09:12:38 +0200
I think there were issues with unregister triggering hotplug udev
events, but that may have been long ago when rtnl_lock was
a semaphore not a mutex.
--
| Oct 5, 12:28 am 2008 |
| Jarek Poplawski | Re: [PATCH] net: deadlock during net device unregistration
Just reading this code (plus the comment). Why would anybody bother
with something so complex like this if something like your idea is
rather straightforward? But, needed or not, my point is it would be
nice to comment that this patch changes this behavior btw.
Jarek P.
--
| Oct 5, 12:12 am 2008 |
| Jarek Poplawski | Re: [PATCH] net: deadlock during net device unregistration
Herbert Xu wrote, On 10/05/2008 06:26 AM:
I think, it's about not to let others run this for devices unregistered
within later rtnl_locks before completing previous tasks. So, it would
be nice to have some comment why it's not necessary anymore.
Cheers,
--
| Oct 4, 11:55 pm 2008 |
| Herbert Xu | Re: [PATCH] net: deadlock during net device unregistration
Where did you get that idea?
This was there because people did (and still do) stuff like:
unregister_netdev(dev);
free_netdev(dev);
Cheers,
--
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
--
| Oct 4, 11:56 pm 2008 |
| Herbert Xu | Re: [PATCH] net: deadlock during net device unregistration
OK, this explains lots of dead-locks that people have been seeing.
But I think we can go a step further:
net: Fix netdev_run_todo dead-lock
Benjamin Thery tracked down a bug that explains many instances
of the error
unregister_netdevice: waiting for %s to become free. Usage count = %d
It turns out that netdev_run_todo can dead-lock with itself if
a second instance of it is run in a thread that will then free
a reference to the device waited on by the first instance.
The problem is ...
| Oct 4, 9:26 pm 2008 |
| Herbert Xu | Re: [PATCH] net: deadlock during net device unregistration
I'm sorry but I don't have time to consider such hypotheticals.
--
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
--
| Oct 5, 12:39 am 2008 |
| Herbert Xu | Re: [PATCH] net: deadlock during net device unregistration
Well as it is we have no hotplug events in netdev_run_todo at
all. They're all in unregister_netdevice which is where they
should be and that runs under the RTNL.
In fact it would be a bug if we had anything in netdev_run_todo
tied to sysfs because once we get here we've relinquished our
ownership of the device name so someone else is free to readd
a device with the same name.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} ...
| Oct 5, 12:38 am 2008 |
| Lennert Buytenhek | Re: [PATCH 3/6] [NET] dsa: add support for original DSA ...
The original DSA tagging format can work with any NIC, as long as you
hook up that NIC directly to a DSA switch chip instead of to a PHY. In
embedded designs you mostly see platform bus drivers like mv643xx_eth
and gianfar and such, but there's no reason you can't do it with any
other MAC that exposes a (R)(G)MII interface.
The only reason that eth_type_trans() needs a hack is that the original
DSA tagging format has information starting right after the ethernet
source address, so there's ...
| Oct 5, 4:56 pm 2008 |
| Bernard, f6bvp | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
With kernel-2.6.27-rc7 and ypur patches including netrom one I observed
three events via netconsole.
I think that they were triggered by NetRom activity I exercized on
purpose.
See attached documents.
Bernard
Le samedi 04 octobre 2008
| Oct 5, 8:40 am 2008 |
| Jarek Poplawski | [PATCH to REVERT] Re: ax25 rose Re: kernel panic linux-2 ...
David, please read below:
------------------------>
Great! So, I think we could agree with this:
1. Reverting this patch fixes the oops which started this thread:
commit 30902dc3cb0ea1cfc7ac2b17bcf478ff98420d74
Author: David S. Miller <davem@davemloft.net>
Date: Tue Jun 17 21:26:37 2008 -0700
ax25: Fix std timer socket destroy handling.
2. Alternative (original) fix proposed by Tihomir Hidelberg:
http://marc.info/?l=linux-netdev&m=121370472223572&w=2
doesn't seem to ...
| Oct 5, 3:05 pm 2008 |
| Jarek Poplawski | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
So, it looks like this patch could make some change, but I'd like to be
sure again: with or without David's patch?
Thanks,
Jarek P.
--
| Oct 5, 1:40 pm 2008 |
| Bernard, f6bvp | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
Here are a few interesting data captured via netconsole from
kernel-2.6.27-rc7 without af_netrom patch #4.
AX25_DBG: c4002338, 00000000, 1, 1, 0
AX25_DBG: c4002008, 00000000, 1, 0, 0
AX25_DBG: c4002668, 00000000, 1, 1, 0
AX25_DBG: c4002008, 00000000, 1, 0, 0
AX25_DBG: c4002668, 00000000, 1, 1, 0
AX25_DBG: c4002008, 00000000, 1, 0, 0
AX25_DBG: c4002008, 00000000, 1, 2, 0
AX25_DBG: c4002008, 00000000, 1, 2, 0
AX25_DBG: c4002998, 00000000, 1, 0, 0
AX25_DBG: c4002008, 00000000, 1, 1, ...
| Oct 5, 11:31 am 2008 |
| Bernard, f6bvp | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
Jarek,
Yes, previous reports were without reverting David's patch.
Now I have removed David's patch (ax25_std_timer.c) and reverted 9A4GL
patch (af_ax25.c).
Thus present kernel is the original plus 9A4GL patch plus your AX25_DBG
and netrom patches and minus David's patch.
The system has been stable for two hours and there is nothing special
in /var/log/messages as can be seen the sample below.
Oct 5 22:56:15 f6bvp-9 kernel: AX25_DBG: c6530350, 00000000, 2, 2, 17
Oct 5 22:56:15 f6bvp-9 ...
| Oct 5, 2:18 pm 2008 |
| Jarek Poplawski | [PATCH] netrom: Fix sock_orphan() use in nr_release
netrom: Fix sock_orphan() use in nr_release
While debugging another bug it was found that NetRom socks
are sometimes seen unorphaned in sk_free(). This patch moves
sock_orphan() in nr_release() to the beginning (like in ax25,
or rose).
Reported-and-tested-by: Bernard Pidoux f6bvp <f6bvp@free.fr>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
---
net/netrom/af_netrom.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netrom/af_netrom.c ...
| Oct 5, 3:16 pm 2008 |
| Jarek Poplawski | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
Bernard, do you mean exactly "With kernel-2.6.27-rc7 and ypur patches
including netrom" or this all and David's patch reverted?
--
| Oct 5, 1:33 pm 2008 |
| Jarek Poplawski | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
I've looked at this a bit and here are some conclusions:
I think this David's patch should be reverted: it's probably
colliding currently with ax25_disconnect(), and there could be double
destroying or something. Since I don't know this code enough, I'm not
going to look now for the cleanest possible solution. I'd only like to
mention that this "/* Magic here: If we listen()..." is still left in
a few other places (ax25, rose, netrom, x25), so removing this one
isn't too consistent.
Anyway ...
| Oct 5, 6:04 am 2008 |
| Jarek Poplawski | Re: ax25 rose Re: kernel panic linux-2.6.27-rc7
More precisely: I'd like to finish the main problem (oops) in this
thread before trying possibly new things in NetRom etc., so it would
be nice if you could acknowledge to David that reverting his patch
fixes this for sure. Additionally it would be nice to check this
Tihomir Heidelberg's fix as an alternative.
Jarek P.
--
| Oct 5, 2:09 pm 2008 |
| David Miller | Re: v2 [PATCH 0/5] dccp: Feature negotiation, Part I - U ...
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
After patch 1:
CC [M] net/dccp/feat.o
net/dccp/feat.c:28: warning: ‘dccp_feat_clone_sp_val’ defined but not used
After patch 2:
CC [M] net/dccp/feat.o
net/dccp/feat.c:118: warning: ‘dccp_feat_clone_entry’ defined but not used
net/dccp/feat.c:139: warning: ‘dccp_feat_entry_destructor’ defined but not used
After patch 3:
CC [M] net/dccp/feat.o
net/dccp/feat.c:118: warning: ‘dccp_feat_clone_entry’ defined but not ...
| Oct 5, 9:13 am 2008 |
| previous day | today | next day |
|---|---|---|
| October 4, 2008 | October 5, 2008 | October 6, 2008 |
