David Ford wrote: > Up until 2.6.9, when I changed link status after the initial > configuration, I would get a kernel OOPS. Now with 2.6.9, I get a > crash immediately on boot with network device configuration. > Attached is my boot log. Apparently SCTP corrupted the inetaddr notifier chain by registering the same notifier_block for IPv4 and IPv6, so masq_inet_event got a struct inet6_ifaddr instead of a struct in_ifaddr. This patch should fix it. Regards Patrick > > > general protection fault: 0000 [1] PREEMPT > CPU 0 > Modules linked in: ipt_TCPMSS ipt_REJECT iptable_filter iptable_mangle > ipt_MASQUERADE ipt_REDIRECT ipta > Pid: 841, comm: ip Not tainted 2.6.9 > RIP: 0010:[] > {:ipt_MASQUERADE:device_cmp+152} > RSP: 0018:000001003a883c08 EFLAGS: 00010202 > RAX: 82f363feffa60e02 RBX: 0000010006260d90 RCX: ffffff000032c000 > RDX: ffffff000032cc40 RSI: 0000010006260d90 RDI: 0000010038077658 > RBP: 0000010038077658 R08: 0000000000000000 R09: 000001003ae4ea88 > R10: 0000000000000000 R11: 000001003c4aa3c0 R12: 0000000000000000 > R13: ffffffffa0049410 R14: 0000000000000000 R15: 0000000000000000 > FS: 0000002a959a6d40(0000) GS:ffffffff808f0d00(0000) > knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 0000002a9582f6d0 CR3: 0000000000101000 CR4: 00000000000006e0 > Process ip (pid: 841, threadinfo 000001003a882000, task 0000010037864cf0) > Stack: 0000010038077820 000001003a883c34 0000010006260d90 > ffffffffa002e7ef > 0000000000000001 000000c4805da6c9 ffffffffa004a400 0000010006260d90 > 0000000000000001 000001003ae2a4d8 > Call Trace:{:ip_conntrack:ip_ct_selective_cleanup+271} > {:ipt_MASQUERADE:masq_inet_event+25} > {notifier_call_chain+32} > {ipv6_add_addr+1361} > {addrconf_add_linklocal+22} > {addrconf_notify+2383} > {rt_cache_flush+581} > {notifier_call_chain+32} > {dev_open+124} > {dev_change_flags+104} > {devinet_ioctl+773} > {inet_ioctl+92} > {sock_ioctl+867} > {sys_ioctl+1117} > {system_call+126} > > Code: 48 8b 00 8b 40 50 39 85 98 01 00 00 75 12 8b 43 24 39 85 e0 > RIP {:ipt_MASQUERADE:device_cmp+152} RSP > <000001003a883c08> > <0>Kernel panic - not syncing: Aiee, killing interrupt handler! > <0>Rebooting in 20 seconds..cable >