Get rid of RTA*() macros
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | unix_diag: Do not use RTA_PUT() macrosnet/ | +33 | 0 replies | |
| 2/7 | sock_diag: Do not use RTA_PUT() macrosnet/ | +3 | 3 replies | |
| 3/7 | inet_diag: Do not use RTA_PUT() macrosnet/ | +53 | 0 replies | |
| 4/7 | ipmr: Do not use RTA_PUT() macrosnet/ | +14 | 0 replies | |
| 5/7 | ip6mr: Do not use RTA_PUT() macrosnet/ | +3 | 0 replies | |
| 6/7 | decnet: Do not use RTA_PUT() macrosnet/ net/ | +79 | 0 replies | |
| 7/7 | netlink: Get rid of obsolete rtnetlink macrosinclude/ net/ net/ | +8 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Get rid of RTA*() macros
This patchset gets rid of all the RTA_PUT() and RTA_GET() macros and makes use of the type-safe netlink API variants where applicable.
I did my best to test these patches but I do not own any decnet hardware so the decnet part is compile tested only.
Thomas Graf (7):
unix_diag: Do not use RTA_PUT() macros
sock_diag: Do not use RTA_PUT() macros
inet_diag: Do not use RTA_PUT() macros
ipmr: Do not use RTA_PUT() macros
ip6mr: Do not use RTA_PUT() macros
decnet: Do not use RTA_PUT() macros
netlink: Get rid of obsolete rtnetlink macros
include/linux/rtnetlink.h | 129 --------------------------------------------- net/core/rtnetlink.c | 13 ----- net/core/sock_diag.c | 12 +--- net/decnet/dn_fib.c | 8 +++ net/decnet/dn_route.c | 61 +++++++++++++-------- net/decnet/dn_table.c | 69 ++++++++++++++---------- net/ipv4/inet_diag.c | 112 ++++++++++++++++++-------------------- net/ipv4/ipmr.c | 28 +++++----- net/ipv6/ip6mr.c | 5 +- net/unix/diag.c | 80 ++++++++++++---------------- 10 files changed, 193 insertions(+), 324 deletions(-)
Signature · 1 line
1.7.7.6