Open GoogleCodeExporter opened 9 years ago
* What steps will reproduce the problem? 1. Add rules for ZHANG 2. Connect any sites that triggers ZHANG 3. See the OOPS * What is the expected output? What do you see instead? [61581.690173] Netfilter messages via NETLINK v0.30. [61581.796636] ip_set: protocol 6 [61675.477531] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [61806.847898] ------------[ cut here ]------------ [61806.847915] WARNING: at /usr/src/linux-headers-3.2.0-2-common/include/net/dst.h:178 zhang_tg+0x201/0x2d0 [xt_ZHANG]() [61806.847924] Hardware name: System Product Name [61806.847928] Modules linked in: xt_ZHANG(O) xt_CUI(O) compat_xtables(O) nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp xt_set ip_set_list_set ip_set_hash_net ip_set nfnetlink nls_utf8 isofs tun pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) powernow_k8 mperf cpufreq_conservative cpufreq_stats cpufreq_userspace ip6table_filter cpufreq_powersave ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables decnet ppdev lp bnep rfcomm bluetooth rfkill binfmt_misc uinput fuse nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc kvm_amd kvm ext3 jbd ext2 hwmon_vid loop snd_hda_codec_via joydev wacom nouveau snd_hda_intel snd_hda_codec mxm_wmi snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm wmi video snd_page_alloc ttm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq drm_kms_helper drm i2c_algo_bit i2c_nforce2 parport_pc i2c_core parport k10temp snd_seq_device snd_timer snd processor asus_atk0110 button thermal_sys psmouse soundcore serio_raw pcspkr evdev ext4 crc16 jbd2 mbcache btrfs crc32c libcrc32c zlib_deflate dm_mod usbhid hid sr_mod cdrom sd_mod crc_t10dif ata_generic pata_amd ohci_hcd sata_nv ehci_hcd forcedeth libata scsi_mod usbcore usb_common [last unloaded: scsi_wait_scan] [61806.848121] Pid: 0, comm: swapper/1 Tainted: G O 3.2.0-2-686-pae #1 [61806.848127] Call Trace: [61806.848140] [<c10384b8>] ? warn_slowpath_common+0x68/0x79 [61806.848149] [<fa64a201>] ? zhang_tg+0x201/0x2d0 [xt_ZHANG] [61806.848158] [<c10384d6>] ? warn_slowpath_null+0xd/0x10 [61806.848166] [<fa64a201>] ? zhang_tg+0x201/0x2d0 [xt_ZHANG] [61806.848176] [<fa62000e>] ? xtnu_target_run+0xe/0x10 [compat_xtables] [61806.848188] [<fa57768a>] ? ipt_do_table+0x3ea/0x457 [ip_tables] [61806.848203] [<c1239c73>] ? nf_iterate+0x30/0x55 [61806.848211] [<c1239cd7>] ? nf_hook_slow+0x3f/0xcc [61806.848221] [<c123ebe0>] ? xfrm4_policy_check.constprop.11+0x45/0x45 [61806.848231] [<c123ebe0>] ? xfrm4_policy_check.constprop.11+0x45/0x45 [61806.848241] [<c123eb8c>] ? NF_HOOK.constprop.10+0x2a/0x39 [61806.848250] [<c123ebe0>] ? xfrm4_policy_check.constprop.11+0x45/0x45 [61806.848260] [<c123ee6f>] ? ip_local_deliver+0x39/0x3c [61806.848269] [<c123ebe0>] ? xfrm4_policy_check.constprop.11+0x45/0x45 [61806.848278] [<c123eb44>] ? ip_rcv_finish+0x2c4/0x2e2 [61806.848287] [<c123e880>] ? inet_del_protocol+0x24/0x24 [61806.848296] [<c123eb98>] ? NF_HOOK.constprop.10+0x36/0x39 [61806.848306] [<c121d600>] ? __netif_receive_skb+0x328/0x364 [61806.848315] [<c123e880>] ? inet_del_protocol+0x24/0x24 [61806.848324] [<c121eab6>] ? netif_receive_skb+0x5d/0x62 [61806.848332] [<c121eb28>] ? napi_skb_finish+0x1b/0x30 [61806.848354] [<f8284ce5>] ? nv_rx_process_optimized+0x11e/0x1aa [forcedeth] [61806.848374] [<f8285c8c>] ? nv_napi_poll+0x438/0x448 [forcedeth] [61806.848385] [<c10346a7>] ? rebalance_domains+0x67/0x125 [61806.848392] [<c121efaa>] ? net_rx_action+0x92/0x17e [61806.848402] [<c103ceed>] ? local_bh_enable+0x2/0x2 [61806.848410] [<c103cf81>] ? __do_softirq+0x94/0x12f [61806.848419] [<c103ceed>] ? local_bh_enable+0x2/0x2 [61806.848424] <IRQ> [<c103d172>] ? irq_exit+0x32/0x80 [61806.848439] [<c100ce06>] ? do_IRQ+0x65/0x76 [61806.848448] [<c12c5af0>] ? common_interrupt+0x30/0x38 [61806.848458] [<c10246c0>] ? native_safe_halt+0x2/0x3 [61806.848467] [<c1010d9c>] ? default_idle+0x52/0x87 [61806.848475] [<c100b22f>] ? cpu_idle+0x95/0xaf [61806.848485] [<c12b7fb8>] ? start_secondary+0x1be/0x1c3 [61806.848493] ---[ end trace 827ec5b51e4230de ]--- * What version of the product are you using? On what operating system? I'm using the latest SVN version. With Debian testing. kernel version is 3.2.0 * Please provide any additional information below. I've made a patch to fix this problem. It is because we should use dst_metric_raw() instead of dst_metric().
Original issue reported on code.google.com by grandpaul@gmail.com on 4 May 2012 at 7:39
grandpaul@gmail.com
Attachments:
Original issue reported on code.google.com by
grandpaul@gmail.com
on 4 May 2012 at 7:39Attachments: