Project

General

Profile

Actions

Bug #247

closed

Kernel BUG in __netdev_adjacent_dev_remove in complex bridge/VLAN setups

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/18/2016
Due date:
% Done:

0%

Estimated time:

Description

We've gotten the report that batman-adv will crash the kernel in the following setup:

  • 5 VLANs (eth0.2, eth0.3, eth0.100, eth0.101, eth0.102)
  • bat0 on eth0.100, eth0.101, eth0.102
  • br-wan on eth0.2
  • br-client on bat0, eth0.3

When eth0 goes down and OpenWrt's netifd subsequently removes eth0.* from bat0, the crash in the attached kernel log occurs (the kernel tries to remove eth0 from br-client, but eth0 isn't a port of br-client)

The issue was reported for the OpenWrt sunxi target; I was not able to reproduce it using the same version and setup on x86, therefore I'm not sure which parts of the setup are relevant.

Kernel: 3.18.27 (current OpenWrt CC HEAD)
batman-adv: 2016.0

Gluon issue tracker reference: https://github.com/freifunk-gluon/gluon/issues/680


Files

dmesg.txt (23.4 KB) dmesg.txt Anonymous, 03/18/2016 01:08 PM
dmesg.txt (46.5 KB) dmesg.txt Anonymous, 03/25/2016 08:20 PM
Actions

Also available in: Atom PDF