Sven Eckelmann 364379c056 batman-adv: Fix lock assert after fragmentation change
The automatic recalculation of the maximum allowed MTU is usually triggered
by code sections which are already rtnl lock protected by callers outside
of batman-adv. But when the fragmentation setting is changed via
batman-adv's own batadv genl family, then the rtnl lock is not yet taken.

But dev_set_mtu requires that the caller holds the rtnl lock because it
uses netdevice notifiers. And this code will then fail the check for this
lock:

  RTNL: assertion failed at net/core/dev.c (1953)

Fixes: e7ee4c55de ("batman-adv: update to version 2023.2")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2023-08-22 18:54:26 +02:00
2023-06-26 11:29:59 +02:00
2023-08-18 16:02:40 +02:00
2023-07-29 10:43:35 +02:00
2023-08-18 16:02:16 +02:00
2023-06-30 01:17:16 +02:00
2023-04-27 17:14:16 +02:00
2020-12-17 06:28:05 +00:00
2023-04-27 17:14:16 +02:00
2023-08-05 22:27:23 +02:00
2023-04-27 17:14:16 +02:00
2021-03-10 08:20:24 +01:00
2023-06-13 15:20:23 +02:00
2023-07-31 07:46:50 +02:00
2023-04-27 17:14:16 +02:00
2023-04-27 17:14:16 +02:00
2023-04-27 17:14:16 +02:00

OpenWrt Routing Feed

Description

This OpenWrt package feed contains community maintained routing packages.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update routing
./scripts/feeds install -a -p routing
Description
OpenWrt Routing Packages
Readme 4.6 MiB
Languages
Shell 35%
Makefile 32.7%
Lua 15.9%
C 14.6%
HTML 1.8%