Skip to content

Get rid of attribute parsing in rtnetlink_rcv_msg()

Thomas Graf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2decnet: Parse netlink attributes on our owninclude/net/dn_fib.h net/decnet/dn_fib.c net/decnet/dn_route.c +1 more+160 -1486 replies
2/2rtnetlink: Remove passing of attributes into rtnl_doit functionsinclude/net/rtnetlink.h net/bridge/br_mdb.c net/can/gw.c +17 more+47 -1170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] Get rid of attribute parsing in rtnetlink_rcv_msg()

We have been wanting to get rid of rta_buf for a while. It is error prone as it requires subsystems, especially modules, that register a rtnetlink mesage type to also modify rtnetlink.c and thus require the recompilation of the kernel. DECnet is the only user left so after converting it we can safely remove it

Thomas Graf (2):
decnet: Parse netlink attributes on our own
rtnetlink: Remove passing of attributes into rtnl_doit functions

 include/net/dn_fib.h    |  28 ++-----
 include/net/rtnetlink.h |   2 +-
 net/bridge/br_mdb.c     |   4 +-
 net/can/gw.c            |   5 +-
 net/core/fib_rules.c    |   4 +-
 net/core/neighbour.c    |   6 +-
 net/core/rtnetlink.c    |  82 ++----------------
 net/dcb/dcbnl.c         |   2 +-
 net/decnet/dn_dev.c     |   4 +-
 net/decnet/dn_fib.c     | 215 ++++++++++++++++++++++++++----------------------
 net/decnet/dn_route.c   |  29 ++++---
 net/decnet/dn_table.c   |  42 +++++-----
 net/ipv4/devinet.c      |   7 +-
 net/ipv4/fib_frontend.c |   4 +-
 net/ipv4/route.c        |   2 +-
 net/ipv6/addrconf.c     |  10 +--
 net/ipv6/addrlabel.c    |   6 +-
 net/ipv6/route.c        |   6 +-
 net/phonet/pn_netlink.c |   4 +-
 net/sched/act_api.c     |   2 +-
 net/sched/cls_api.c     |   2 +-
 net/sched/sch_api.c     |   6 +-
 22 files changed, 207 insertions(+), 265 deletions(-)
Signature · 1 line
1.7.11.7