Re: [BUG 2.6.18] unaligned access in ipvv6_rcv, nf_ip6_checksum, tcp_error, __ipv6_addr_type, fib6_lookup_1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Harald Welte <laforge@xxxxxxxxxxxx>
Date: Tue, 10 Oct 2006 18:28:03 +0200

> The NIC in use is a tulip:
> eth1: Digital DS21143 Tulip rev 65 at 000001ff00002000, 00:40:C7:97:6B:0D, IRQ 15.
> 
> Since there is no other tulip nic (only 3c59x and sunhme) in that box,
> it might be a tulip driver bug.

I don't see anything interesting in the tulip driver
after scanning it's RX buffer handling code.

Let's at least see if my theory is at least correct.
Can you run the following little debug patch?

It will print about 40 messages indicating the pointer
value for the ipv6 header in ipv6_rcv().  This way
we can see if it's really misaligned.

diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
index 6b8e6d7..f08e5cd 100644
--- a/net/ipv6/ip6_input.c
+++ b/net/ipv6/ip6_input.c
@@ -90,6 +90,14 @@ int ipv6_rcv(struct sk_buff *skb, struct
 		goto err;
 
 	hdr = skb->nh.ipv6h;
+#if 1
+	{
+		static int times = 0;
+
+		if (++times < 40)
+			printk("DEBUG: ipv6 header [%p]\n", hdr);
+	}
+#endif
 
 	if (hdr->version != 6)
 		goto err;
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux