diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-08-19 01:16:04 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-19 01:16:05 +0300 |
commit | 7793a88e881ffd4cde6d14eadc6485931d12a4cc (patch) | |
tree | 8e42d3354f411a2d367ddd5a79487679347f988d /net/batman-adv/types.h | |
parent | 0e8860d2125f51ba9bca67a520d826cb8f66cf42 (diff) | |
parent | 421d467dc2d483175bad4fb76a31b9e5a3d744cf (diff) | |
download | linux-7793a88e881ffd4cde6d14eadc6485931d12a4cc.tar.xz |
Merge tag 'batadv-net-pullrequest-20230816' of git://git.open-mesh.org/linux-merge
Simon Wunderlich says:
====================
Here are some batman-adv bugfixes:
- Fix issues with adjusted MTUs (2 patches), by Sven Eckelmann
- Fix header access for memory reallocation case, by Remi Pommarel
- Fix two memory leaks (2 patches), by Remi Pommarel
* tag 'batadv-net-pullrequest-20230816' of git://git.open-mesh.org/linux-merge:
batman-adv: Fix batadv_v_ogm_aggr_send memory leak
batman-adv: Fix TT global entry leak when client roamed back
batman-adv: Do not get eth header before batadv_check_management_packet
batman-adv: Don't increase MTU when set by user
batman-adv: Trigger events for auto adjusted MTU
====================
Link: https://lore.kernel.org/r/20230816163318.189996-1-sw@simonwunderlich.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/batman-adv/types.h')
-rw-r--r-- | net/batman-adv/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index ca9449ec9836..cf1a0eafe3ab 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -1547,6 +1547,12 @@ struct batadv_priv { struct net_device *soft_iface; /** + * @mtu_set_by_user: MTU was set once by user + * protected by rtnl_lock + */ + int mtu_set_by_user; + + /** * @bat_counters: mesh internal traffic statistic counters (see * batadv_counters) */ |