linux-netdev mailing list

FromSubjectsort iconDate
Roel Kluin
[PATCH] phylib: unsigneds go unnoticed
both pdata->mdc and pdata->mdio are unsigned. Notice a negative return value. diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index a439ebe..9b1dcd6 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c @@ -200,13 +200,21 @@ static int __devinit mdio_ofgpio_probe(struct of_device *ofdev, { struct device_node *np = NULL; struct mdio_gpio_platform_data *pdata; + int ret; pdata = kzalloc(sizeof(*pdata), GFP_KERNEL); if (!pdata) ...
Jan 18, 3:57 pm 2009
Norbert Preining
Re: 2.6.29-rc1-wl gives WARNING on ich8lan
If you need one more, here it is, a bit different to the previous one, at least for my eyes. [ 544.804215] ------------[ cut here ]------------ [ 544.804225] WARNING: at drivers/net/e1000e/ich8lan.c:412 e1000_acquire_swflag_ich8lan+0x35/0xcc() [ 544.804231] Hardware name: VGN-Z11VN_B [ 544.804234] e1000e mutex contention. Owned by pid 8 [ 544.804238] Modules linked in: binfmt_misc rfcomm l2cap kvm isofs zlib_inflate vfat fat fuse dm_crypt dm_mod firewire_sbp2 loop arc4 iwlagn iwlcore ...
Jan 18, 2:39 pm 2009
Divy Le Ray
[PATCH 2.6.30] cxgb3 - ease msi-x settings conditions
From: Divy Le Ray <divy@chelsio.com> The driver currently drops to line interrupt mode if it did not get all the msi-x vectors it requested. Allow msi-x settings when a minimal amount of vectors is provided. Signed-off-by: Divy Le Ray <divy@chelsio.com> --- drivers/net/cxgb3/adapter.h | 1 + drivers/net/cxgb3/cxgb3_main.c | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/net/cxgb3/adapter.h ...
Jan 18, 1:48 pm 2009
Matvejchikov Ilya
[PATCH] net: A little dev_valid_name() improvement
This patch removes redundant complexity when checking the network device name to be valid. Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com> --- net/core/dev.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 8d67597..9c5d8f4 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -760,12 +760,10 @@ struct net_device * dev_get_by_flags(struct net *net, unsigned short if_flags, u */ int dev_valid_name(const char ...
Jan 18, 12:07 pm 2009
Michael Tokarev
Re: [PATCH] net: A little dev_valid_name() improvement
And also disallows any name starting with a dot, while previously it was allowed/valid. I don't think this patch is good. --
Jan 18, 1:28 pm 2009
Sitsofe Wheeler
Re: [atl2] warn_slowpath in dev_watchdog
I forgot to mention, looking back I see that once the link disappeared (while the cable was still plugged in) on the router but partially came back (the the link reappears but the router doesn't serve DHCP leases or seemingly route packets) booting new kernels from cold would show the problem while network manager was trying to obtain a DHCP lease. I will test your patch the next time that this happens (but this may be a while). --
Jan 18, 10:46 am 2009
Jay Cliburn
Re: [atl2] warn_slowpath in dev_watchdog
On Sun, 18 Jan 2009 09:40:15 -0800 (PST) Thanks Sitsofe. This is what I was looking for. I'll wait for you to try the patch I sent earlier. I'd like to see if the watchdog timeout occurs with the patch applied. Thanks again, Jay --
Jan 18, 10:58 am 2009
Sitsofe Wheeler
Re: [atl2] warn_slowpath in dev_watchdog
I've dug some stuff up. Here's a clean 2.6.28 dmesg: [ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00 [ 0.000000] Linux version 2.6.28 (@verona) (gcc version 4.2.4) #2 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e4000 - ...
Jan 18, 10:40 am 2009
iTunes Card
iTunes Gift Card with 60% off
Dear friend: I sell US iTunes Gift Card $50, $75, $100, $150, $200 with great discount, 60% off you only need pay 40%. This is my new US iTunes Gift Card shop Website link: http://itunesgiftcarddiscount.blogspot.com/ You can buy all US iTunes Gift Card $50, $75, $100, $150, $200 with great discount, you only need pay 40%. This is my shop customer service Email, you can contact me with this Email: goodseller200911@gmail.com Welcome to purchase US iTunes Gift Card! Hope do ...
Jan 18, 9:28 am 2009
Sitsofe Wheeler
Re: [atl2] warn_slowpath in dev_watchdog
Unfortunately I only saved that snippet of the log (I can provide you a full dmesg but it won't be I believe it is a USRobotics ADSL modem (nmap reckons its a SureConnect 9105 but I have no means of checking as I don't have physical access to the box where it is contained). Every now and again this thing seems to buckle under network load and goes out to lunch. When this happens ethtool reports that the line has dropped and sometimes this warning appears... --
Jan 18, 3:18 am 2009
Jay Cliburn
Re: [atl2] warn_slowpath in dev_watchdog
On Sun, 18 Jan 2009 02:18:33 -0800 (PST) I'd like to see the full dmesg that includes the warning, if you can obtain it next time it occurs. Meanwhile, please see if this patch helps. diff --git a/drivers/net/atlx/atl2.c b/drivers/net/atlx/atl2.c index 8571e8c..376226c 100644 --- a/drivers/net/atlx/atl2.c +++ b/drivers/net/atlx/atl2.c @@ -555,14 +555,18 @@ static void atl2_check_for_link(struct atl2_adapter *adapter) atl2_read_phy_reg(&adapter->hw, MII_BMSR, &phy_data); ...
Jan 18, 8:52 am 2009
David Miller
Re: [3/3] gro: Fix merging of paged packets
From: Herbert Xu <herbert@gondor.apana.org.au> Applied. --
Jan 18, 12:04 am 2009
Herbert Xu
[2/3] gro: Fix error handling on extremely short frags
The second is a trivial error handling bug. gro: Fix error handling on extremely short frags When a frag is shorter than an Ethernet header, we'd return a zeroed packet instead of aborting. This patch fixes that. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> diff --git a/net/core/dev.c b/net/core/dev.c index 4f69a2d..2fb3a00 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2514,6 +2514,7 @@ struct sk_buff *napi_fraginfo_skb(struct napi_struct *napi, if ...
Jan 17, 10:47 pm 2009
David Miller
Re: [2/3] gro: Fix error handling on extremely short frags
From: Herbert Xu <herbert@gondor.apana.org.au> Applied. --
Jan 18, 12:04 am 2009
David Miller
Re: [1/3] gro: Fix handling of complete checksums in IPv6
From: Herbert Xu <herbert@gondor.apana.org.au> Applied. --
Jan 18, 12:04 am 2009
Herbert Xu
[1/3] gro: Fix handling of complete checksums in IPv6
Hi Dave: Here are three bug fixes for GRO. The first one makes sure we don't penalise CHECKSUM_COMPLETE drivers for doing the right thing. gro: Fix handling of complete checksums in IPv6 We need to perform skb_postpull_rcsum after pulling the IPv6 header in order to maintain the correctness of the complete checksum. This patch also adds a missing iph reload after pulling. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> diff --git a/net/ipv6/af_inet6.c ...
Jan 17, 10:46 pm 2009
Herbert Xu
[3/3] gro: Fix merging of paged packets
The third fixes a serious bug in a previous bug fix. gro: Fix merging of paged packets The previous fix to paged packets broke the merging because it reset the skb->len before we added it to the merged packet. This wasn't detected because it simply resulted in the truncation of the packet while the missing bit is subsequently retransmitted. The fix is to store skb->len before we clobber it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> diff --git a/net/core/skbuff.c ...
Jan 17, 10:48 pm 2009
Jay Cliburn
Re: [atl2] warn_slowpath in dev_watchdog
[Modifying subject line and cc'ing netdev] On Sat, 17 Jan 2009 18:49:18 +0000 (UTC) Please provide your complete dmesg output. What do you do to reproduce this? Can you briefly describe the device immediately upstream of the system producing the warning? Thanks, Jay --
Jan 17, 6:40 pm 2009
Evgeniy Polyakov
Re: sendfile(), SO_LINGER, RST etc summary, please check
Hi Bert. splice() from the fd to socket behaves exactly the same, since right now sendfile() is implemented as a splice(). Other directions are not affected by this behaviour (like socket-pipe-socket). Userspace memory to socket (aka vmsplice()) iirc behaves exactly like splice(), i.e. it is not allowed to write to the area being transmitted until explicit ack was received. -- Evgeniy Polyakov --
Jan 18, 3:33 am 2009
David Miller
Re: [PATCH] via-velocity: fix hot spin
From: Roel Kluin <roel.kluin@gmail.com> Applied, thanks Roel. --
Jan 18, 12:07 am 2009
Jaswinder Singh Rajput
Re: [GIT PULL -tip] fix 33 make headers_check warnings
Hello Sam, David, CHECK include/mtd (6 files) /home/jaswinder/jaswinder-git/linux-2.6-tip/usr/include/mtd/jffs2-user.h:20: extern's make no sense in userspace -- include/mtd/jffs2-user.h: extern int target_endian; #define t16(x) ({ uint16_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); }) #define t32(x) ({ uint32_t __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); }) -- In above case extern is OK or not ? Do we have some better ...
Jan 17, 8:05 pm 2009
Kyle McMartin
Re: [GIT PULL -tip] fix 33 make headers_check warnings
There is effectively no point, especially when they reference a variable that may or may not exist in the userspace code including it... It seems entirely mtd-utils dependent. Dave, will you queue Adrian's patch to nuke it? --
Jan 17, 9:18 pm 2009
Jaswinder Singh Rajput
Re: [GIT PULL -tip] fix 33 make headers_check warnings
Hello David, Here is the list of 33 warnings this patchset solves: CHECK include/linux/can (3 files) /home/jaswinder/jaswinder-git/linux-2.6-tip/usr/include/linux/can/bcm.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h> CHECK include/linux/dvb (8 files) /home/jaswinder/jaswinder-git/linux-2.6-tip/usr/include/linux/dvb/audio.h:133: found __[us]{8,16,32,64} type without #include ...
Jan 17, 7:46 pm 2009
Ingo Molnar Jan 18, 2:13 am 2009
Jaswinder Singh Rajput
Re: [GIT PULL -tip] fix 33 make headers_check warnings
If this file is _ONLY_ for userspace and kernel cannot use it then what is the point of keeping this file in kernel headers. -- JSR --
Jan 17, 8:38 pm 2009
Sam Ravnborg
Re: [GIT PULL -tip] fix 33 make headers_check warnings
Thanks for taking care of this Ingo and please push towards Linus. And thanks to all the contributors too - it was great to see this dealt with soo quickly! Sam --
Jan 18, 3:10 am 2009
Kyle McMartin
Re: [GIT PULL -tip] fix 33 make headers_check warnings
This file is for userspace only, and it makes sense where it's used (mtd-utils.) In general though, this file doesn't actually depend on the kernel and could be entirely provided from the userspace library. http://lkml.org/lkml/2006/12/1/180 --
Jan 17, 8:33 pm 2009
David Miller
Re: [PATCH 2.6.29] myri10ge: don't forget pci_disable_device()
From: Brice Goglin <brice@myri.com> Applied. --
Jan 18, 12:06 am 2009
David Miller
Re: [PATCH 1/1] NET: net_namespace, fix lock imbalance
From: Jiri Slaby <jirislaby@gmail.com> Applied, thanks. --
Jan 18, 12:08 am 2009
Vegard Nossum Jan 18, 5:12 am 2009
Vegard Nossum
Re: 2.6.27.9: splice_to_pipe() hung (blocked for more th ...
Hm, I do believe this _is_ evidence in favour of the theory: top - 09:03:57 up 2:16, 2 users, load average: 129.27, 49.28, 21.57 #define _GNU_SOURCE #include <sys/socket.h> #include <sys/types.h> #include <fcntl.h> #include <errno.h> #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> static int sock_fd[2]; static int pipe_fd[2]; #define N 16384 static void *do_write(void *unused) { unsigned int ...
Jan 18, 7:10 am 2009
Vegard Nossum
Re: 2.6.27.9: splice_to_pipe() hung (blocked for more th ...
I have one theory. We have this skeleton: ssize_t splice_from_pipe(struct pipe_inode_info *pipe, struct file *out, loff_t *ppos, size_t len, unsigned int flags, splice_actor *actor) { ... inode_double_lock(inode, pipe->inode); ret = __splice_from_pipe(pipe, &sd, actor); inode_double_unlock(inode, pipe->inode); ... } ssize_t __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, ...
Jan 18, 6:44 am 2009
Herbert Xu
Re: cxgb3: Replace LRO with GRO
I wonder why this is still up there. Maybe this patch will help? diff --git a/net/core/dev.c b/net/core/dev.c index 3742397..3cc19fa 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2554,7 +2554,8 @@ struct sk_buff *napi_fraginfo_skb(struct napi_struct *napi, BUG_ON(info->nr_frags > MAX_SKB_FRAGS); skb_shinfo(skb)->nr_frags = info->nr_frags; - memcpy(skb_shinfo(skb)->frags, info->frags, sizeof(info->frags)); + memcpy(skb_shinfo(skb)->frags, info->frags, + ...
Jan 18, 3:50 pm 2009
Divy Le Ray
Re: cxgb3: Replace LRO with GRO
Hi Herbert, Thanks for the patch. It does improve the performance. I'm now getting about 5.3Gbs. Here is a oprofile output: 33.929900 copy_user_generic_unrolled vmlinux 7.150300 process_responses cxgb3.ko 6.261100 refill_fl cxgb3.ko 6.181700 memcpy vmlinux 6.168100 inet_gro_receive vmlinux 4.593700 put_page vmlinux ...
Jan 18, 1:33 pm 2009
David Miller
Re: [PATCH 34/34]bnx2x: Version update
From: "Eilon Greenstein" <eilong@broadcom.com> Also applied, thanks. --
Jan 18, 12:26 am 2009
David Miller
Re: [PATCH 33/34]bnx2x: Driver description update
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 31/34]bnx2x: Legacy speeds autoneg failures
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 32/34]bnx2x: Handling PHY FW load failure
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 30/34]bnx2x: Prevent self test loopback failures
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 29/34]bnx2x: 1G-10G toggling race
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 28/34]bnx2x: Overstepping array bounds
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 27/34]bnx2x: Block nvram access when the devi ...
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:23 am 2009
David Miller
Re: [PATCH 26/34]bnx2x: Read chip ID
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 24/34]bnx2x: Potential race after iSCSI boot
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 23/34]bnx2x: Handling probe failures
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 20/34]bnx2x: Handling load failures
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:18 am 2009
David Miller
Re: [PATCH 20/34]bnx2x: Handling load failures
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 25/34]bnx2x: Wrong HDR offset in CAM
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 22/34]bnx2x: Free IRQ
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:22 am 2009
David Miller
Re: [PATCH 21/34]bnx2x: Carrier off first call
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:18 am 2009
David Miller
Re: [PATCH 19/34]bnx2x: Disable napi
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:17 am 2009
David Miller
Re: [PATCH 18/34]bnx2x: Reset HW before use
From: "Eilon Greenstein" <eilong@broadcom.com> Applied. --
Jan 18, 12:17 am 2009
Christoph Hellwig
Re: [PATCH 11/34]bnx2x: Endianness issues
Did you run sparse over the driver to verify you've sorted out all endianess issues? --
Jan 18, 9:59 am 2009
David Miller
Re: [PATCH 02/34]bnx2x: Barriers for the compiler
From: "Eilon Greenstein" <eilong@broadcom.com> Fair enough, applied. --
Jan 18, 12:25 am 2009
David Miller
Re: XFRM structures binary compability
From: "Jiri Klimes" <klimes@centrum.cz> Thanks for catching this, I'll revert. --
Jan 18, 12:13 am 2009
previous daytodaynext day
January 17, 2009January 18, 2009January 19, 2009