Netdev List
 help / color / mirror / Atom feed
* kernel BUG at net/netfilter/nf_nat_core.c:395
@ 2016-02-10 17:34 Oleksandr Natalenko
  0 siblings, 0 replies; only message in thread
From: Oleksandr Natalenko @ 2016-02-10 17:34 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Patrick McHardy, Jozsef Kadlecsik, David S. Miller,
	netfilter-devel, coreteam, netdev, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-10 17:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-10 17:34 kernel BUG at net/netfilter/nf_nat_core.c:395 Oleksandr Natalenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox