Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331365

kernel BUG at net/netfilter/nf_nat_core.c:395

From Oleksandr Natalenko <oleksandr@natalenko.name>
Newsgroups linux.kernel
Subject kernel BUG at net/netfilter/nf_nat_core.c:395
Date 2016-02-10 18:40 +0100
Message-ID <r0GUb-5nr-31@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi.

With 4.4.1 I've got BUG_ON() triggered in net/netfilter/nf_nat_core.c:395, 
nf_nat_setup_info(), today on my home router.

Here is full trace got via netconsole: [1]

I perform LAN NATting using nftables like this:

===
table ip nat {
        chain prerouting {
                type nat hook prerouting priority -150;
        }
 
        chain postrouting {
                type nat hook postrouting priority -150;
 
                oifname enp2s0 ip saddr 172.17.28.0/24 counter snat 1.2.3.4
                oifname enp2s0 ip saddr 172.17.29.0/24 counter snat 1.2.3.4
                oifname enp2s0 ip saddr 172.17.31.0/24 counter snat 1.2.3.4
                oifname enp2s0 ip saddr 172.17.35.0/24 counter snat 1.2.3.4
                oifname enp2s0 ip saddr 172.17.37.0/24 counter snat 1.2.3.4
                oifname tun0 ip saddr 172.17.28.0/24 counter masquerade
                oifname tun0 ip saddr 172.17.29.0/24 counter masquerade
                oifname tinc0 ip saddr 172.17.28.0/24 counter masquerade
                oifname tinc0 ip saddr 172.17.29.0/24 counter masquerade
        }
}
===

Traffic filtering is done via nftables as well.

Ideas? What could I do to debug the issue better?

[1] https://gist.github.com/bbb3712f40a7753537fe

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

kernel BUG at net/netfilter/nf_nat_core.c:395 Oleksandr Natalenko <oleksandr@natalenko.name> - 2016-02-10 18:40 +0100

csiph-web