netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/1] remove header_ops bug in qeth driver
@ 2007-10-19 21:55 Ursula Braun
  2007-10-19 22:02 ` [patch 1/1] qeth: remove header_ops bug Ursula Braun
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ursula Braun @ 2007-10-19 21:55 UTC (permalink / raw)
  To: jgarzik, netdev, linux-s390; +Cc: mschwid2, apw, linux-kernel, kamalesh, kaber

-- 
Remove qeth driver bug introduced by this commit:

commit 3b04ddde02cf1b6f14f2697da5c20eca5715017f
Author: Stephen Hemminger <shemminger@linux-foundation.org>
Date:   Tue Oct 9 01:40:57 2007 -0700

    [NET]: Move hardware header operations out of netdevice.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [patch 1/1] qeth: remove header_ops bug
  2007-10-19 21:55 [patch 0/1] remove header_ops bug in qeth driver Ursula Braun
@ 2007-10-19 22:02 ` Ursula Braun
  2007-10-19 22:03 ` Ursula Braun
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Ursula Braun @ 2007-10-19 22:02 UTC (permalink / raw)
  To: jgarzik, netdev, linux-s390; +Cc: mschwid2, apw, linux-kernel, kamalesh, kaber

[-- Attachment #1: qeth.patch --]
[-- Type: text/plain, Size: 859 bytes --]

From: Ursula Braun <braunu@de.ibm.com>

Remove qeth bug caused by commit:
[NET]: Move hardware header operations out of netdevice.

Signed-off-by: Ursula Braun <braunu@de.ibm.com>
---
 drivers/s390/net/qeth_main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6-uschi/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6-uschi.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6-uschi/drivers/s390/net/qeth_main.c
@@ -6643,7 +6643,8 @@ qeth_netdev_init(struct net_device *dev)
 	dev->vlan_rx_kill_vid = qeth_vlan_rx_kill_vid;
 	dev->vlan_rx_add_vid = qeth_vlan_rx_add_vid;
 #endif
-	dev->header_ops = &qeth_null_ops;
+	if (qeth_get_netdev_flags(card) & IFF_NOARP)
+		dev->header_ops = &qeth_null_ops;
 
 #ifdef CONFIG_QETH_IPV6
 	/*IPv6 address autoconfiguration stuff*/

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [patch 1/1] qeth: remove header_ops bug
  2007-10-19 21:55 [patch 0/1] remove header_ops bug in qeth driver Ursula Braun
  2007-10-19 22:02 ` [patch 1/1] qeth: remove header_ops bug Ursula Braun
@ 2007-10-19 22:03 ` Ursula Braun
       [not found] ` <20071019220007.791059000@linux.vnet.ibm.com>
  2007-10-22  7:24 ` [patch 0/1] remove header_ops bug in qeth driver Heiko Carstens
  3 siblings, 0 replies; 5+ messages in thread
From: Ursula Braun @ 2007-10-19 22:03 UTC (permalink / raw)
  To: jgarzik, netdev, linux-s390; +Cc: mschwid2, apw, linux-kernel, kamalesh, kaber

[-- Attachment #1: qeth.patch --]
[-- Type: text/plain, Size: 859 bytes --]

From: Ursula Braun <braunu@de.ibm.com>

Remove qeth bug caused by commit:
[NET]: Move hardware header operations out of netdevice.

Signed-off-by: Ursula Braun <braunu@de.ibm.com>
---
 drivers/s390/net/qeth_main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6-uschi/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6-uschi.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6-uschi/drivers/s390/net/qeth_main.c
@@ -6643,7 +6643,8 @@ qeth_netdev_init(struct net_device *dev)
 	dev->vlan_rx_kill_vid = qeth_vlan_rx_kill_vid;
 	dev->vlan_rx_add_vid = qeth_vlan_rx_add_vid;
 #endif
-	dev->header_ops = &qeth_null_ops;
+	if (qeth_get_netdev_flags(card) & IFF_NOARP)
+		dev->header_ops = &qeth_null_ops;
 
 #ifdef CONFIG_QETH_IPV6
 	/*IPv6 address autoconfiguration stuff*/

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 1/1] qeth: remove header_ops bug
       [not found] ` <20071019220007.791059000@linux.vnet.ibm.com>
@ 2007-10-20  3:04   ` Jeff Garzik
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2007-10-20  3:04 UTC (permalink / raw)
  To: Ursula Braun
  Cc: netdev, linux-s390, mschwid2, apw, linux-kernel, kamalesh, kaber

applied


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [patch 0/1] remove header_ops bug in qeth driver
  2007-10-19 21:55 [patch 0/1] remove header_ops bug in qeth driver Ursula Braun
                   ` (2 preceding siblings ...)
       [not found] ` <20071019220007.791059000@linux.vnet.ibm.com>
@ 2007-10-22  7:24 ` Heiko Carstens
  3 siblings, 0 replies; 5+ messages in thread
From: Heiko Carstens @ 2007-10-22  7:24 UTC (permalink / raw)
  To: Ursula Braun
  Cc: jgarzik, netdev, linux-s390, mschwid2, apw, linux-kernel,
	kamalesh, kaber, Stephen Hemminger

On Fri, Oct 19, 2007 at 11:55:38PM +0200, Ursula Braun wrote:
> -- 
> Remove qeth driver bug introduced by this commit:
> 
> commit 3b04ddde02cf1b6f14f2697da5c20eca5715017f
> Author: Stephen Hemminger <shemminger@linux-foundation.org>
> Date:   Tue Oct 9 01:40:57 2007 -0700
> 
>     [NET]: Move hardware header operations out of netdevice.

Still broken:

Kernel BUG at 0000000000000002 [verbose debug info unavailable] 
illegal operation: 0001 [#1] 
Modules linked in: 
CPU:    1    Not tainted 
Process ip (pid: 2170, task: 0000000001f1d038, ksp: 0000000002d87b30) 
Krnl PSW : 0704200180000000 0000000000000002 (0x2) 
           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3 
Krnl GPRS: 0000000000000000 0000000000000038 00000000027c2800 00000000016d6000
           00000000000086dd 00000000029f8b78 0000000000000000 00000000029f8b00
           00000000029f8b40 00000000027c2800 0000000000000000 0000000002d874c8
           00000000016d6000 00000000003cb960 00000000002c58d2 0000000002d874c8
Krnl Code:>0000000000000002: 0000               unknown 
           0000000000000004: 0000               unknown 
           0000000000000006: 0000               unknown 
           0000000000000008: 0000               unknown 
           000000000000000a: 0000               unknown 
           000000000000000c: 0000               unknown 
           000000000000000e: 0000               unknown 
           0000000000000010: 0000               unknown 
Call Trace: 
([<00000000002c588e>] neigh_connected_output+0x76/0x118) 
 [<0000000000339e00>] ip6_output2+0x22c/0x478 
 [<000000000033a46c>] ip6_output+0x250/0x10fc 
 [<000000000034d65e>] __ndisc_send+0x416/0x768 
 [<000000000034da1c>] ndisc_send_rs+0x6c/0x7c 
 [<0000000000340776>] addrconf_dad_completed+0xb2/0x100 
 [<000000000034269c>] addrconf_dad_start+0xa4/0x134 
 [<000000000034279e>] addrconf_add_linklocal+0x72/0xa4 
 [<00000000003439d4>] addrconf_notify+0x6ec/0x8bc 
 [<000000000039905a>] notifier_call_chain+0x5e/0xa4 
 [<0000000000062832>] __raw_notifier_call_chain+0x26/0x38 
 [<0000000000062872>] raw_notifier_call_chain+0x2e/0x40 
 [<00000000002beaa8>] call_netdevice_notifiers+0x34/0x48 
 [<00000000002c0288>] dev_open+0xd4/0xe0 
 [<00000000002bed42>] dev_change_flags+0x14e/0x1c4 
 [<0000000000316cb2>] devinet_ioctl+0x5d2/0x724 
 [<000000000031753c>] inet_ioctl+0xf4/0x130 
 [<00000000002ac6fa>] sock_ioctl+0x86/0x300 
 [<00000000000c8124>] do_ioctl+0x50/0xe0 
 [<00000000000c8440>] vfs_ioctl+0x28c/0x3e4 
 [<00000000000c85e8>] sys_ioctl+0x50/0x8c 
 [<00000000000ff744>] dev_ifsioc+0xb8/0x4c8 
 [<00000000000fc15c>] compat_sys_ioctl+0x11c/0x444 
 [<00000000000229d0>] sysc_noemu+0x10/0x16 
 [<0000000077f3b9ca>] 0x77f3b9ca 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-22  7:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 21:55 [patch 0/1] remove header_ops bug in qeth driver Ursula Braun
2007-10-19 22:02 ` [patch 1/1] qeth: remove header_ops bug Ursula Braun
2007-10-19 22:03 ` Ursula Braun
     [not found] ` <20071019220007.791059000@linux.vnet.ibm.com>
2007-10-20  3:04   ` Jeff Garzik
2007-10-22  7:24 ` [patch 0/1] remove header_ops bug in qeth driver Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).