From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: netfilter problem Date: Fri, 14 May 2010 12:59:32 +0200 Message-ID: <4BED2D14.3030405@trash.net> References: <4BECF572.3030601@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: netfilter@vger.kernel.org, Netfilter Development Mailinglist To: senthilkumaar2021 Return-path: Received: from stinky.trash.net ([213.144.137.162]:42352 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753870Ab0ENK7e (ORCPT ); Fri, 14 May 2010 06:59:34 -0400 In-Reply-To: <4BECF572.3030601@gmail.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: senthilkumaar2021 wrote: > Hi > > I am getting the following kernel panic error in kernel 2.6.30.5 while > running the squid t proxy in bridge mode > > I have used the following iptables 1.4.3 and ebtables rules > > The panic occurs once in 10 -15 hrs > > iptable and ebtables are > > iptables -t mangle -N DIVERT > iptables -t mangle -A DIVERT -j MARK --set-mark 1 > iptables -t mangle -A DIVERT -j ACCEPT > > iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT > iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY > --tproxy-mark 0x1/0x1 --on-port 3129 > > ebtables -t broute -A BROUTING -i $CLIENT_IFACE -p ipv4 --ip-proto tcp > --ip-dport 80 -j redirect --redirect-target DROP > > ebtables -t broute -A BROUTING -i $INET_IFACE -p ipv4 --ip-proto tcp > --ip-sport 80 -j redirect --redirect-target DROP > > [] ? nf_nat_fn+0x138/0x14e [iptable_nat] > [] ? nf_nat_in+0x2f/0x6e [iptable_nat] > [] ? br_nf_pre_routing_finish+0x0/0x2c4 [bridge] > [] br_nf_pre_routing_finish+0x50/0x2c4 [bridge] > [] ? br_nf_pre_routing_finish+0x0/0x2c4 [bridge] > [] ? nf_hook_slow+0x68/0xc8 > [] ? br_nf_pre_routing_finish+0x0/0x2c4 [bridge] > [] br_nf_pre_routing+0x5a8/0x5c7 [bridge] > [] nf_iterate+0x48/0x85 > [] ? br_handle_frame_finish+0x0/0x154 [bridge] > [] nf_hook_slow+0x68/0xc8 > [] ? br_handle_frame_finish+0x0/0x154 [bridge] > [] br_handle_frame+0x1b1/0x1db [bridge] > [] netif_receive_skb+0x316/0x434 > [] napi_gro_receive+0x6e/0x83 > [] e1000_receive_skb+0x5c/0x65 [e1000e] > [] e1000_clean_rx_irq+0x1e1/0x28f [e1000e] > [] e1000_clean+0x99/0x24a [e1000e] > [] ? _spin_unlock_irqrestore+0x2c/0x43 > [] net_rx_action+0xb8/0x1b4 > [] __do_softirq+0x99/0x152 > [] call_softirq+0x1c/0x30 > [] do_softirq+0x52/0xb9 > [] irq_exit+0x53/0x8d > [] do_IRQ+0x135/0x157 > [] ret_from_intr+0x0/0x2e > [] ? mwait_idle+0x9e/0xc7 > [] ? mwait_idle+0x95/0xc7 > [] ? atomic_notifier_call_chain+0x13/0x15 > [] ? enter_idle+0x27/0x29 > > > Please help me in fixing the issue Please send the full panic output.