Hi Jakub, hi David,
here is a little cleanup pull request of batman-adv to go into net-next.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit b1de0f01b0115575982cf24c88b35106449e9aa7:
batman-adv: Use netif_rx_any_context(). (2021-02-13 18:0
From: Sven Eckelmann
The commit b1de0f01b011 ("batman-adv: Use netif_rx_any_context().") removed
the last user for a function declaration from linux/preempt.h. The include
should therefore be cleaned up.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/
From: Sven Eckelmann
checkpatch started to complain about the mispelling of:
CHECK: 'wont' may be misspelled - perhaps 'won't'?
#459: FILE: ./net/batman-adv/bat_iv_ogm.c:459:
+* - the resulting packet wont be bigger than
Signed-off-by: Sven Eckelmann
Signed
Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/types.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index 7c0b475cc22a..2be5d4a712c5 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@
Hi Jakub, hi David,
this time we only have one patch in the pull request of batman-adv to
go into net-next.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 25d81f9307ffc166427d93152498f45178f5936a:
batman-adv: Fix names for kernel-doc bloc
: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bridge_loop_avoidance.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/net/batman-adv/bridge_loop_avoidance.c
b/net/batman-adv/bridge_loop_avoidance.c
index 360bdbf44748..bcd543ce835b 100644
--- a/net
a copyright
year (for initial and last publication) in the files are chosen instead.
More detailed information about the years can still be retrieved from the
SCM system.
Signed-off-by: Sven Eckelmann
Acked-by: Marek Lindner
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batadv_packet.h
rting at 0).
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 288201630ceb..2486efe4ffa6 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7
-by: Simon Wunderlich
---
net/batman-adv/distributed-arp-table.c | 2 +-
net/batman-adv/multicast.c | 2 +-
net/batman-adv/netlink.c | 4 ++--
net/batman-adv/tp_meter.c | 2 +-
net/batman-adv/types.h | 3 ++-
5 files changed, 7 insertions
return the size of everything except
the flexible member. But sparse will detect this kind of sizeof and warn
with
warning: using sizeof on a flexible structure
This can be avoided by dropping the unused flexible member.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/
-20210202) and includes the
following patches:
- Bump version strings, by Simon Wunderlich (added commit log)
- Drop publication years from copyright info, by Sven Eckelmann
(replaced the previous patch which updated copyright years, as per
our discussion)
- Avoid sizeof on flexible
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 288201630ceb..2486efe4ffa6 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7 +13,7 @@
#define
From: Sven Eckelmann
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batadv_packet.h | 2 +-
include/uapi/linux/batman_adv.h| 2 +-
net/batman-adv/Kconfig | 2 +-
net/batman-adv/Makefile| 2 +-
net/batman-adv
-by: Simon Wunderlich
---
net/batman-adv/distributed-arp-table.c | 2 +-
net/batman-adv/multicast.c | 2 +-
net/batman-adv/netlink.c | 4 ++--
net/batman-adv/tp_meter.c | 2 +-
net/batman-adv/types.h | 3 ++-
5 files changed, 7 insertions
return the size of everything except
the flexible member. But sparse will detect this kind of sizeof and warn
with
warning: using sizeof on a flexible structure
This can be avoided by dropping the unused flexible member.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/
)
This feature/cleanup patchset includes the following patches:
- Bump version strings, by Simon Wunderlich
- Update copyright years for 2021, by Sven Eckelmann
- Avoid sizeof on flexible structure, by Sven Eckelmann
- Fix names for kernel-doc blocks, by Sven Eckelmann
The commit 992b03b88e36 ("batman-adv: Don't always reallocate the
fragmentation skb head") removed the last user of functions from
soft-interface.h.
Signed-off-by: Simon Wunderlich
---
net/batman-adv/fragmentation.c | 1 -
1 file changed, 1 deletion(-)
diff --git a
From: Sven Eckelmann
The only way to automatically drop batadv mesh interfaces when all soft
interfaces were removed was dropped with the sysfs support. It is no longer
needed to have them handled by kernel anymore.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman
de in fragmentation.c
(2020-12-04 08:41:16 +0100)
This cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich
- update include for min/max helpers, by Sven Eckelmann
- add infrastructure and netlink func
From: Sven Eckelmann
The debugfs support in batman-adv was marked as deprecated by the commit
00caf6a2b318 ("batman-adv: Mark debugfs functionality as deprecated") and
scheduled for removal in 2021.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-a
From: Sven Eckelmann
The sysfs in batman-adv support was marked as deprecated by the commit
42cdd521487f ("batman-adv: ABI: Mark sysfs files as deprecated") and
scheduled for removal in 2021.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
.../ABI/obsolete/sysfs
lated. This also
eases the integration of batadv devices inside tools like network-manager
or systemd-networkd which are not expecting to operate on /sys before a new
net_device is created.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index a47dc332d796..9254c6ee0c0a 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7 +13,7 @@
#define
From: Sven Eckelmann
The commit b296a6d53339 ("kernel.h: split out min()/max() et al. helpers")
moved the min/max helper functionality from kernel.h to minmax.h. Adjust
the kernel code accordingly to avoid fragile indirect includes.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon
-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 20 +
net/batman-adv/soft-interface.c | 39 +
2 files changed, 59 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
Hi David, hi Jakub,
here are some more bugfixes for batman-adv which we would like to have
integrated into net.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 14a2e551faea53d45bc11629a9dac88f88950ca7:
batman-adv: set .owner to THIS_MODUL
f-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/fragmentation.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/fragmentation.c b/net/batman-adv/fragmentation.c
index 8de1fb567fd7..1f1f5b0873b2 100644
--- a/net/batman-adv/fragmentati
r than mtu")
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/fragmentation.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/fragmentation.c b/net/batman-adv/fragmentation.c
index 9a47ef8b95c4..8de1fb567fd7 1
transmission through the various device layers.
Fixes: 7bca68c7844b ("batman-adv: Add lower layer needed_(head|tail)room to own
ones")
Reported-by: Linus Lüssing
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/hard-interface.c | 3 +++
1 file changed, 3
Hi David, hi Jakub,
here is a bugfix for batman-adv which we would like to have integrated into net.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit f8394f232b1eab649ce2df5c5f15b0e528c92091:
Linux 5.10-rc3 (2020-11-08 16:10:16 -0800)
are
From: Taehee Yoo
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c6c8fea29769 ("net: Add batman-adv meshing protocol")
Signed-off-by: Taehee Yoo
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
From: Linus Lüssing
It seems that due to a copy & paste error the void pointer
in batadv_choose_backbone_gw() is cast to the wrong type.
Fixing this by using "struct batadv_bla_backbone_gw" instead of "struct
batadv_bla_claim" which better matches the caller's side.
For now it seems that we wer
feature uses a simple, 3 address batman-adv
unicast header. So let's use this to distinguish.
Fixes: fe2da6ff27c7 ("batman-adv: check incoming packet type for bla")
Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/
: use netif_rx_ni when not in interrupt
context")
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bridge_loop_avoidance.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/bridge_loop_avoidance.c
b/net/batman-adv/bridge_loop_avoidan
Hi David,
here are some late bugfixes which we would like to have integrated into net.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 279e89b2281af3b1a9f04906e157992c19c9f163:
batman-adv: bla: use netif_rx_ni when not in interrupt context
ned-off-by: Simon Wunderlich
---
net/batman-adv/bridge_loop_avoidance.c | 103 +
1 file changed, 87 insertions(+), 16 deletions(-)
diff --git a/net/batman-adv/bridge_loop_avoidance.c
b/net/batman-adv/bridge_loop_avoidance.c
index 68715783a742..c350ab63cd54 100644
--- a/net/
es: 2d3f6ccc4ea5 ("batman-adv: Modified forwarding behaviour for multicast
packets")
Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/multicast.c | 46 ++---
net/batman-adv/multicast.h | 15 +
f-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/routing.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 27cdf5e4349a..9e5c71e406ff 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
)
This cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich
- Drop unused function batadv_hardif_remove_interfaces(),
by Sven Eckelmann
- delete duplicated words, by Randy Dunlap
- Drop (even more) repeated words in comments, by Sven Eckelmann
From: Sven Eckelmann
The commit c0842fbc1b18 ("random32: move the pseudo-random 32-bit
definitions to prandom.h") introduced a new header for the pseudo random
functions from (previously) linux/random.h. One future goal of the
prandom.h change is to make code to switch just the new header file an
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 0393bb9ed3d0..a47dc332d796 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7 +13,7 @@
#define
From: Sven Eckelmann
checkpatch found various instances of "Possible repeated word" in various
comments.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bridge_loop_avoidance.c | 2 +-
net/batman-adv/fragmentation.c | 2 +-
net/batma
with this
uninitialized memory.
Reported-by: syzbot+ab16e463b903f5a37...@syzkaller.appspotmail.com
Fixes: 6c413b1c22a2 ("batman-adv: send every DHCP packet as bat-unicast")
Signed-off-by: Sven Eckelmann
Acked-by: Antonio Quartulli
Signed-off-by: Simon Wunderlich
---
net/batman-adv/
quot;batman-adv: add basic bridge loop avoidance code")
Signed-off-by: Jussi Kivilinna
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bridge_loop_avoidance.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/batman-adv/bridge_loo
ators logic")
Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bat_v_ogm.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c
index 0f
Hi David,
here are some bugfixes which we would like to have integrated into net.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:
Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)
are available in the Git
. This will
trigger NETDEV_UNREGISTER events for all available interfaces and in this
process remove all interfaces from batadv_hardif_list. And
batadv_hardif_remove_interfaces only operated on this (empty) list.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv
From: Randy Dunlap
Delete the doubled word "time" in a comment.
Delete the doubled word "address" in a comment.
Signed-off-by: Randy Dunlap
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/types.h | 4 ++--
1 file changed, 2 insert
)
This feature/cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich
- update mailing list URL, by Sven Eckelmann
- fix typos and grammar in documentation, by Sven Eckelmann
- introduce a configurable per interface
From: Sven Eckelmann
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
Documentation/networking/batman-adv.rst | 6 +--
include/uapi/linux/batadv_packet.h | 50 -
include/uapi/linux/batman_adv.h | 4 +-
net/batman-adv/bat_iv_ogm.c
-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 3 ++-
net/batman-adv/bat_iv_ogm.c | 17 +
net/batman-adv/bat_v_ogm.c | 13 ++---
net/batman-adv/hard-interface.c | 2 ++
net/batman-adv/netlink.c| 12
From: Sven Eckelmann
The mailman installation on lists.open-mesh.org was switched from mailman2
to mailman3. The URL to the subscription webpage changed in this process.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
Documentation/networking/batman-adv.rst | 2 +-
1 file
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 61d8dbe8c954..42b8d1e76dea 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7 +13,7 @@
#define
s/configurations. The user can still overwrite them using the
batadv_hardif's BATADV_ATTR_THROUGHPUT_OVERRIDE.
Reported-by: Matthias Schiffer
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bat_v_elp.c | 15 +--
1 file changed, 1 insertion(+)
Hi David,
here is a small cleanup pull request of batman-adv to go into net-next.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit 1a33e10e4a95cb109ff1145098175df3113313ef:
net: partially revert dynamic lockdep key changes (2020-05-04 12:05
ce_pointer() where appropriate to make code slimer.
Signed-off-by: Antonio Quartulli
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/gateway_client.c | 4 ++--
net/batman-adv/hard-interface.c | 4 ++--
net/batman-adv/routing.c| 4 ++--
3 files changed, 6
soft-interface.c") which depends on the latter.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/soft-interface.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 822af540b854..0ddd80130e
Hi David,
yes, you will get it through me. I'll schedule a pull request next week.
Cheers,
Simon
On Wednesday, August 14, 2019 6:36:25 PM CEST David Miller wrote:
> From: Eric Dumazet
> Date: Mon, 12 Aug 2019 04:57:27 -0700
>
> > batadv_netlink_get_ifindex() needs to make sure user passe
From: Sven Eckelmann
The commit 54d50897d544 ("linux/kernel.h: split *_MAX and *_MIN macros into
") moved the U32_MAX/INT_MAX/ULONG_MAX from linux/kernel.h
to linux/limits.h. Adjust the includes accordingly.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index c59afcba31e0..11d051dbbda4 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -13,7 +13,7 @@
#define
: 7e6f461efe25 ("batman-adv: Trigger genl notification on sysfs config
change")
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/sysfs.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sys
Hi David,
here is another pull request for batman-adv to go into net-next. The main
patchset is Svens netlink restructure series, which was also discussed on netdev
for quite some time now and should be ready to be integrated.
Please pull or let me know of any problem!
Thank you,
Simon
Th
. Setting the u8 to zero will disable this feature and setting it
to something else is enabling this feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 11 +++
2 files changed, 17
that settings might have been changed and what the current
values are.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 16 +++-
net/batman-adv/netlink.c| 160
2 files changed, 111 inserti
o simplify the code.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/netlink.c | 143 +--
1 file changed, 100 insertions(+), 43 deletions(-)
diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c
index 5f
using the u32 attributes BATADV_ATTR_ISOLATION_MARK
and BATADV_ATTR_ISOLATION_MASK.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 19 +
net/batman-adv/netlink.c| 89 +
2 files changed
attribute.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 17 +
2 files changed, 23 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
index
BATADV_ATTR_ELP_INTERVAL
attribute.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 17 +
2 files changed, 23 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include
the "config" multicast
group.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/netlink.c | 10
net/batman-adv/netlink.h | 6 +
net/batman-adv/sysfs.c | 63 +++-
3 files changed, 63 inserti
-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 8
net/batman-adv/netlink.c| 12
2 files changed, 20 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
index f966e497361b..305bf316dd03 100644
--- a/include/uapi
-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 9 +
net/batman-adv/netlink.c| 15 +++
2 files changed, 24 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux/batman_adv.h
index 6d36e4b47eb4
this feature using the BATADV_ATTR_NETWORK_CODING_ENABLED
attribute. Setting the u8 to zero will disable this feature and setting it
to something else is enabling this feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 7 +++
net
configuration of this feature using the
BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED attribute. Setting the u8 to zero
will disable this feature and setting it to something else is enabling this
feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h
BATADV_ATTR_DISTRIBUTED_ARP_TABLE_ENABLED attribute. Setting the u8 to zero
will disable this feature and setting it to something else is enabling this
feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 8
net/batman-adv/netlink.c| 17
the u8 to zero will disable this feature and setting it
to something else is enabling this feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 12
2 files changed, 18 insertions
feature using the attributes:
* u8 BATADV_ATTR_GW_MODE (0 == off, 1 == client, 2 == server)
* u32 BATADV_ATTR_GW_BANDWIDTH_DOWN (in 100 kbit/s steps)
* u32 BATADV_ATTR_GW_BANDWIDTH_UP (in 100 kbit/s steps)
* u32 BATADV_ATTR_GW_SEL_CLASS
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
t;config" mcast group using the BATADV_CMD_SET_VLAN command
message type that settings might have been changed and what the current
values are.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 17
net/batman-adv/ne
) BATADV_ATTR_LOG_LEVEL
attribute.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 17 +
2 files changed, 23 insertions(+)
diff --git a/include/uapi/linux/batman_adv.h b/include/uapi/linux
/BATADV_CMD_GET_MESH commands allow to set/get the
configuration of this feature using the u8 BATADV_ATTR_HOP_PENALTY
attribute.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 6 ++
net/batman-adv/netlink.c| 11 +++
2 files
ings might have been changed and what the
current values are.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 16 ++-
net/batman-adv/netlink.c| 240
2 files changed, 233 insertions(+), 23 deleti
ude/uapi/linux/batadv_packet.h:232:
+ * @flags: reseved for routing relevant flags - currently always 0
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batadv_packet.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/b
: b61ec31c8575 ("batman-adv: Snoop DHCPACKs for DAT")
Signed-off-by: Martin Weinelt
[s...@narfation.org: add commit message]
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/distributed-arp-table.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/
. Setting the u8 to zero will disable this feature and setting it
to something else is enabling this feature.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batman_adv.h | 7 +++
net/batman-adv/netlink.c| 12
2 files changed, 19
On Saturday, January 26, 2019 11:47:20 AM CET Sven Eckelmann wrote:
> Aggregated OGM is currently defined as:
>
>
> * according to batctl manpage:
>
> aggregation|ag [0|1]
>If no parameter is given the current aggregation setting
>is displayed. Otherwise the parameter
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index b572066325e4..f3ef2c725a41 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -25,7 +25,7 @@
#define
reassigns an IP address to a new host.
Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/distributed-arp-table.c | 399 +
net/batman-adv/distributed-arp-table.h | 19 ++
net/batman-adv/routing.c
years for 2019 (2019-01-04 11:04:24 +0100)
This feature/cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich
- Add DHCPACKs for DAT snooping, by Linus Luessing
- Update copyright years fo
From: Sven Eckelmann
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
include/uapi/linux/batadv_packet.h | 2 +-
include/uapi/linux/batman_adv.h| 2 +-
net/batman-adv/Kconfig | 2 +-
net/batman-adv/Makefile| 2 +-
net/batman-adv
g any virtual device created on
batman-adv as hard-interface")
Reported-by: syzbot+c764de0fcfadca9a8...@syzkaller.appspotmail.com
Reported-by: Dmitry Vyukov
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/hard-interface.c | 5 +++--
1 file changed, 3 insert
fg80211: dynamically allocate per-tid stats for station
info")
[s...@narfation.org: add commit message]
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/bat_v_elp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/batman-adv/bat_v_elp.c b/net/bat
v meshing protocol")
Reported-by: syzbot+9d7405c7faa390e60...@syzkaller.appspotmail.com
Reported-by: syzbot+7d20bc3f1c0f9...@syzkaller.appspotmail.com
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/soft-interface.c | 2 ++
1 file changed, 2 insertions(+)
di
Hi David,
here are some bugfixes which we would like to see integrated into net.
Please pull or let me know of any problem!
Thank you,
Simon
The following changes since commit b71acb0e372160167bf6d5500b88b30b52ccef6e:
Merge branch 'linus' of
git://git.kernel.org/pub/scm/linux/kernel/g
)
This feature/cleanup patchset includes the following patches:
- bump version strings, by Simon Wunderlich
- Disable batman-adv debugfs by default, by Sven Eckelmann
- Improve handling mesh nodes with multicast optimizations disabled,
by Linus Luessing
Signed-off-by: Simon Wunderlich
---
net/batman-adv/main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h
index 057a28a9fe88..8da3c9336111 100644
--- a/net/batman-adv/main.h
+++ b/net/batman-adv/main.h
@@ -25,7 +25,7 @@
#define
problems on
most systems. It is still possible to enable it in case it is still
required in a specific setup.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/batman-adv/Kconfig b
From: Sven Eckelmann
The debug_dir variable in the main structures is only accessed when
CONFIG_BATMAN_ADV_DEBUGFS is enabled. It can be dropped to potentially save
some bytes of memory.
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/types.h | 6 ++
1
stalled by virtual interfaces.
The "default throughput" setting exported via sysfs still allows to
configure the batman-adv throughput for the interface, thus disabling
the measurements.
Signed-off-by: Marek Lindner
Acked-by: Antonio Quartulli
Signed-off-by: Sven Eckelmann
Signed-off-
off-by: Luc Van Oostenryck
[s...@narfation.org: fixed alignment]
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/soft-interface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
in
From: Sven Eckelmann
Using the bool type for structure member is considered inappropriate [1]
for the kernel. Its size is not well defined (but usually 1 byte but maybe
also 4 byte).
[1] https://lkml.org/lkml/2017/11/21/384
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
From: Marek Lindner
Signed-off-by: Marek Lindner
Acked-by: Antonio Quartulli
Signed-off-by: Sven Eckelmann
Signed-off-by: Simon Wunderlich
---
net/batman-adv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/Kconfig b/net/batman-adv/Kconfig
index
1 - 100 of 429 matches
Mail list logo