Bug 17251
Summary: | instant crash (jump to NULL) with virtio-net, tap, bridge and veth | ||
---|---|---|---|
Product: | Networking | Reporter: | Michael Tokarev (mjt) |
Component: | Other | Assignee: | Arnaldo Carvalho de Melo (acme) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.32 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Michael Tokarev
2010-08-29 08:29:49 UTC
I posted a follow-up to the mailinglist, adding information here as well. The problem appears to be a stack overflow. The last entries in the call trace refer to ip_rcv() and br_nf_pre_routing() - that's where netfilter's NF_HOOK gets called at the end of ip_rcv() routine. By disabling the bridge hooks (in /proc/sys/net/bridge/*) or by eliminating one of layers (veth) it is possible to eliminate the whole issue. In later kernel something were changed which resulted in reduced stack usage so the problem does not occur. But in 2.6.32 it still happens, and this is a long-stable series. Note again this setup is a bit unusual - vlans, veth, bridge and virtio all together. Without knowing exactly which changes and if they are safe as a set its hard to merge stuff into long term stable. For this case it would be high risk/low return so it's not worth it IMHO - closing |