Messages in this thread | | | Date | Mon, 11 Nov 2002 03:26:02 +0100 | From | Petr Vandrovec <> | Subject | Re: 2.5.46-bk3: BUG in skbuff.c:178 |
| |
On Sun, Nov 10, 2002 at 02:18:55AM -0200, Arnaldo Carvalho de Melo wrote: > Em Fri, Nov 08, 2002 at 11:02:15PM +0100, Petr Vandrovec escreveu: > > On Fri, Nov 08, 2002 at 09:33:24PM +0200, Petr Vandrovec wrote: > > > On 8 Nov 02 at 12:01, Andrew Morton wrote: > > > Patch below removes 'bucket' from arp_iter_state, and merges it to the pos. > > It is based on assumption that there is no more than 16M of entries in each > > bucket, and that NEIGH_HASHMASK + 1 + PNEIGH_HASHMASK + 1 < 127 > > I did that in the past, but it gets too ugly, see previous changeset in > bk tree, lemme see... 1.781.1.52, but anyway, I was aware of this bug but I > was on the run, going to Japan and back in 5 days :-\ Well, I have already > sent this one to several people, so if you could review/test it...
I tried to find how it is supposed to work, and after I tried to boot kernel (at home) with it, I can say that it does not work...
I tried it only at home (where arp table is empty by default), so I did not test whether lock is released properly (if there will be arp_seq_start and arp_seq_stop, with pos == 0 and without intervening arp_seq_next, you'll unlock unlocked arp_tbl.lock in arp_seq_stop (and from what I see in seq_file.c, it can happen), but when I just tried to ping various addresses at vmware's vmnet8, I got very short output of /proc/net/arp, although it should contain couple of entries:
ppc:~# cat /proc/net/arp IP address HW type Flags HW address Mask Device ppc:~# ping 192.168.27.2 PING 192.168.27.2 (192.168.27.2) 56(84) bytes of data.
--- 192.168.27.2 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
ppc:~# ping 192.168.27.3 PING 192.168.27.3 (192.168.27.3) 56(84) bytes of data.
--- 192.168.27.3 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
ppc:~# ping 192.168.27.4 PING 192.168.27.4 (192.168.27.4) 56(84) bytes of data.
--- 192.168.27.4 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
ppc:~# ping 192.168.27.5 PING 192.168.27.5 (192.168.27.5) 56(84) bytes of data.
--- 192.168.27.5 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
ppc:~# ping 192.168.27.6 PING 192.168.27.6 (192.168.27.6) 56(84) bytes of data.
--- 192.168.27.6 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms
ppc:~# cat /proc/net/arp IP address HW type Flags HW address Mask Device 192.168.27.2 0x1 0x0 00:00:00:00:00:00 * vmnet8 ppc:~#
Not something I expect. Before reboot it was listing all 6 addresses, not only first. Best regards, Petr Vandrovec vandrove@vc.cvut.cz - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |