Skip to contentSkip to conversation

: Networking

GIT David Miller 3 participants 8 messages Apr 7, 2009

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

1) E1000 multicast packet loss fix from Jesse Brandeburg.

2) Two request_firmware() conversions (myri_sbus and bnx2)

3) Two B44 DMA fixes from Michael Buesch. These could explain a bunch of strange bugs actually.

4) Use percpu_add() instead of by hand expansion, from Eric Dumazet.

5) vxge build fix from Alexander Beregalov.

6) virtio_net MAC setting fix from Alex Willaimson.

7) IPSEC ipv6 tunnel fragmentation bug fix from Steffen Klassert.

8) gigaset driver bug fixes from Tilman Schmidt.

9) axnet_cs PHY detection bug fixes from Ken Kawasaki.

10) Missing MODULE_LICENSE in fddi module.

Please pull, thanks a lot!

The following changes since commit 6bb597507f9839b13498781e481f5458aea33620:
Linus Torvalds (1):

        Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip

are available in the git repository at:

master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git master

Adrian Bunk (1):
net/802/fddi.c: add MODULE_LICENSE

Alex Williamson (1):
virtio_net: Set the mac config only when VIRITO_NET_F_MAC

Alexander Beregalov (1):
vxge: should include tcp.h

Ed Swierk (1):
forcedeth: Fix resume from hibernation regression.

Eric Dumazet (1):
socket: use percpu_add() while updating sockets_in_use

Huang Weiyi (1):
smsc911x: remove unused #include <linux/version.h>

Jaswinder Singh Rajput (1):
myri_sbus: use request_firmware

Jean Delvare (1):
ibm_newemac: Fix dangerous struct assumption

Jesse Brandeburg (1):
e1000: fix loss of multicast packets

Ken Kawasaki (1):
axnet_cs: fix phy_id detection for bogus Asix chip.

Michael Buesch (2):
b44: Fix sizes passed to b44_sync_dma_desc_for_{device,cpu}()
b44: Use kernel DMA addresses for the kernel DMA API

Michael Chan (1):
bnx2: Use request_firmware()

Steffen Klassert (1):
xfrm: fix fragmentation on inter family tunnels

Tilman Schmidt (3):
bas_gigaset: use tasklet_hi_schedule for timing critical tasklets
gigaset: in file ops, check for device disconnect before anything else
gigaset: documentation update

 Documentation/isdn/README.gigaset         |   52 +-
 drivers/isdn/gigaset/bas-gigaset.c        |    4 +-
 drivers/isdn/gigaset/interface.c          |   58 +-
 drivers/net/Kconfig                       |    2 +-
 drivers/net/b44.c                         |    8 +-
 drivers/net/bnx2.c                        |  351 ++-
 drivers/net/bnx2.h                        |   71 +-
 drivers/net/bnx2_fw.h                     | 4378 +----------------------
 drivers/net/bnx2_fw2.h                    | 4547 ----------------------
 drivers/net/e1000/e1000_main.c            |   34 +-
 drivers/net/forcedeth.c                   |    3 +
 drivers/net/ibm_newemac/core.c            |    2 +-
 drivers/net/myri_code.h                   | 5006 -------------------------
 drivers/net/myri_sbus.c                   |   37 +-
 drivers/net/pcmcia/axnet_cs.c             |    9 +-
 drivers/net/smsc911x.c                    |    1 -
 drivers/net/virtio_net.c                  |   10 +-
 drivers/net/vxge/vxge-main.c              |    1 +
 firmware/Makefile                         |    5 +
 firmware/WHENCE                           |   30 +
 firmware/bnx2/bnx2-mips-06-4.6.16.fw.ihex | 5805 ++++++++++++++++++++++++++++
 firmware/bnx2/bnx2-mips-09-4.6.17.fw.ihex | 5816 +++++++++++++++++++++++++++++
 firmware/bnx2/bnx2-rv2p-06-4.6.16.fw.ihex |  441 +++
 firmware/bnx2/bnx2-rv2p-09-4.6.15.fw.ihex |  490 +++
 firmware/myricom/lanai.bin.ihex           | 4771 +++++++++++++++++++++++
 net/802/fddi.c                            |    2 +
 net/ipv6/xfrm6_output.c                   |    1 +
 net/socket.c                              |    6 +-
 28 files changed, 17751 insertions(+), 14190 deletions(-)
 delete mode 100644 drivers/net/bnx2_fw2.h
 delete mode 100644 drivers/net/myri_code.h
 create mode 100644 firmware/bnx2/bnx2-mips-06-4.6.16.fw.ihex
 create mode 100644 firmware/bnx2/bnx2-mips-09-4.6.17.fw.ihex
 create mode 100644 firmware/bnx2/bnx2-rv2p-06-4.6.16.fw.ihex
 create mode 100644 firmware/bnx2/bnx2-rv2p-09-4.6.15.fw.ihex
 create mode 100644 firmware/myricom/lanai.bin.ihex
#1 lore raw

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Linus

#2 lore raw
Quoted 4 lines · On Mon, 6 Apr 2009 18:25:31 -0700 (PDT) Linus Torvalds…

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Hopefully fixed by this patch in my for-linus branch?

Signature · 42 lines
Jesse Barnes, Intel Open Source Technology Center

commit d6141668c24d7d75c3486499c05a6b382cbc2bbe
Author: Anton Vorontsov <[email protected]>
Date:   Wed Apr 1 02:23:41 2009 +0400

    PCI: Fix oops in pci_vpd_truncate
    
    pci_vpd_truncate() should check for dev->vpd->attr, otherwise
    this might happen:
    
    sky2 driver version 1.22
    Unable to handle kernel paging request for data at address 0x0000000c
    Faulting instruction address: 0xc01836fc
    Oops: Kernel access of bad area, sig: 11 [#1]
    [...]
    NIP [c01836fc] pci_vpd_truncate+0x38/0x40
    LR [c029be18] sky2_probe+0x14c/0x518
    Call Trace:
    [ef82bde0] [c029bda4] sky2_probe+0xd8/0x518 (unreliable)
    [ef82be20] [c018a11c] local_pci_probe+0x24/0x34
    [ef82be30] [c018a14c] pci_call_probe+0x20/0x30
    [ef82be50] [c018a330] __pci_device_probe+0x64/0x78
    [ef82be60] [c018a44c] pci_device_probe+0x30/0x58
    [ef82be80] [c01aa270] really_probe+0x78/0x1a0
    [ef82bea0] [c01aa460] __driver_attach+0xa4/0xa8
    [ef82bec0] [c01a96ac] bus_for_each_dev+0x60/0x9c
    [ef82bef0] [c01aa0b4] driver_attach+0x24/0x34
    [ef82bf00] [c01a9e08] bus_add_driver+0x12c/0x1cc
    [ef82bf20] [c01aa87c] driver_register+0x6c/0x110
    [ef82bf30] [c018a770] __pci_register_driver+0x4c/0x9c
    [ef82bf50] [c03782c8] sky2_init_module+0x30/0x40
    [ef82bf60] [c0001dbc] do_one_initcall+0x34/0x1a0
    [ef82bfd0] [c0362240] do_initcalls+0x38/0x58
    
    This happens with CONFIG_SKY2=y, and "ip=on" kernel command line, so
    pci_vpd_truncate() is called before late_initcall(pci_sysfs_init),
    therefore ->attr isn't yet initialized.
    
    Acked-by: Stephen Hemminger <[email protected]>
    Signed-off-by: Anton Vorontsov <[email protected]>
    Signed-off-by: Jesse Barnes <[email protected]>
drivers/pci/access.c +2 -1
index 3814447..64dd7df 100644
@@ -356,7 +356,8 @@ int pci_vpd_truncate(struct pci_dev *dev, size_t size)
 		return -EINVAL;
 
 	dev->vpd->len = size;
-	dev->vpd->attr->size = size;
+	if (dev->vpd->attr)
+		dev->vpd->attr->size = size;
 
 	return 0;
 }
author maintainer
#3 lore raw
In reply to Linus Torvalds

From: Linus Torvalds <[email protected]>
Date: Mon, 6 Apr 2009 18:25:31 -0700 (PDT)

Quoted 4 lines

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Fixed in the PCI tree, have you pulled that one yet?

#4 lore raw
Quoted 8 lines · David Miller

From: Linus Torvalds <[email protected]>
Date: Mon, 6 Apr 2009 18:25:31 -0700 (PDT)

Quoted 4 lines

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Fixed in the PCI tree, have you pulled that one yet?

Nobody has even _asked_ me to pull.

What's the point of having fixes available if they aren't merged?

Linus

#5 lore raw
Quoted 8 lines · On Mon, 6 Apr 2009 19:32:11 -0700 (PDT) Linus Torvalds…
Quoted 4 lines · David Miller

From: Linus Torvalds <[email protected]>
Date: Mon, 6 Apr 2009 18:25:31 -0700 (PDT)

Quoted 2 lines
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Fixed in the PCI tree, have you pulled that one yet?

Nobody has even _asked_ me to pull.

What's the point of having fixes available if they aren't merged?

I just pushed it into my repo today and wanted at least a day of linux-next before asking you to pull.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center
author maintainer
#6 lore raw

From: Jesse Barnes <[email protected]>
Date: Mon, 6 Apr 2009 20:24:41 -0700

Quoted 12 lines
Quoted 9 lines · On Mon, 6 Apr 2009 19:32:11 -0700 (PDT) Linus Torvalds…
Quoted 7 lines · David Miller

From: Linus Torvalds <[email protected]>
Date: Mon, 6 Apr 2009 18:25:31 -0700 (PDT)

Quoted 4 lines

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Fixed in the PCI tree, have you pulled that one yet?

Nobody has even _asked_ me to pull.

What's the point of having fixes available if they aren't merged?

I just pushed it into my repo today and wanted at least a day of linux-next before asking you to pull.

I feel like I've been watching people get pointed to that fix for what seems like days.

In fact this is why I was under the impression that you had already asked Linus to merge the fix. :-)

#7 lore raw
Quoted 21 lines · On Mon, 06 Apr 2009 21:04:26 -0700 (PDT) David Miller <[email protected]>…

From: Jesse Barnes <[email protected]>
Date: Mon, 6 Apr 2009 20:24:41 -0700

Quoted 18 lines
Quoted 14 lines · On Mon, 6 Apr 2009 19:32:11 -0700 (PDT) Linus Torvalds…
Quoted 8 lines · David Miller

From: Linus Torvalds <[email protected]>
Date: Mon, 6 Apr 2009 18:25:31 -0700 (PDT)

Quoted 4 lines

The sky2 driver is buggered (by the previous pull, I presume). Some PCI interaction. NULL pointer dereference at boot.

Fixed in the PCI tree, have you pulled that one yet?

Nobody has even _asked_ me to pull.

What's the point of having fixes available if they aren't merged?

Quoted 8 lines
Quoted 2 lines

I just pushed it into my repo today and wanted at least a day of linux-next before asking you to pull.

I feel like I've been watching people get pointed to that fix for what seems like days.

In fact this is why I was under the impression that you had already asked Linus to merge the fix. :-)

It came in right as I was putting together my tree for the merge window; putting it in along with a few other fixes would have meant a delay to do more testing etc so I figured I'd put it off until now. Sorry about that; I didn't know so many people were running into it.

Signature · 1 line
Jesse Barnes, Intel Open Source Technology Center