batctl: Use shared batadv genl socket for requests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | batctl: Consume genl ACKs after setting readssys.c | +7 | 0 replies | |
| 2/6 | batctl: throughputmeter: Use global genl socketthroughputmeter.c | +21 | 0 replies | |
| 3/6 | batctl: interface: List using shared genl socketinterface.c | +31 | 0 replies | |
| 4/6 | batctl: Get meshif info using shared genl socketgateways.c mcast_flags.c netlink.c +2 more | +17 | 0 replies | |
| 5/6 | batctl: Use common genl socket for netlink_query_commonfunctions.c functions.h gw_mode.c +8 more | +84 | 0 replies | |
| 6/6 | batctl: routing_algo: List using shared genl socketrouting_algo.c | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] batctl: Use shared batadv genl socket for requests
It was noticed that quite a lot of functions create their own netlink socket just to talk to batman-adv. This is related to the old sysfs compat code which was removed in 2021.0. So restructure the code to make use of the existing global information in the state object.
Kind regards,
Sven
Sven Eckelmann (6):
batctl: Consume genl ACKs after setting reads
batctl: throughputmeter: Use global genl socket
batctl: interface: List using shared genl socket
batctl: Get meshif info using shared genl socket
batctl: Use common genl socket for netlink_query_common
batctl: routing_algo: List using shared genl socket
functions.c | 15 +++--- functions.h | 5 +- gateways.c | 3 +- gw_mode.c | 3 +- icmp_helper.c | 14 +++--- icmp_helper.h | 2 +- interface.c | 77 ++++++++++++----------------- mcast_flags.c | 3 +- netlink.c | 121 +++++++++++++++++----------------------------- netlink.h | 12 ++--- originators.c | 3 +- ping.c | 7 +-- routing_algo.c | 74 +++++++++++++--------------- sys.c | 8 ++- throughputmeter.c | 105 ++++++++-------------------------------- traceroute.c | 7 +-- translate.c | 5 +- 17 files changed, 176 insertions(+), 288 deletions(-)
Signature · 1 line
2.30.2