Remove rtnetlink_send() in rtnetlink
cover Remove rtnetlink_send() in rtnetlink
rtnetlink_send() is similar to rtnl_notify(), there is no need for two functions to do the same thing. we can remove rtnetlink_send() and modify rtnl_notify() to adapt more case.
Patch1: remove rtnetlink_send() modify rtnl_notify() to adapt more case in rtnetlink.
Path2,Patch3: Adjustment parameters in rtnl_notify().
Path4: rtnetlink_send() already removed, use rtnl_notify() instead of rtnetlink_send().
Yajun Deng (4):
rtnetlink: remove rtnetlink_send() in rtnetlink
net: Adjustment parameters in rtnl_notify()
vxlan: Adjustment parameters in rtnl_notify() net/sched: use rtnl_notify() instead of rtnetlink_send()
drivers/net/vxlan.c | 2 +- include/linux/rtnetlink.h | 7 +++---- include/net/netlink.h | 5 ++--- net/bridge/br_fdb.c | 2 +- net/bridge/br_mdb.c | 4 ++-- net/bridge/br_netlink.c | 2 +- net/bridge/br_vlan.c | 2 +- net/core/fib_rules.c | 2 +- net/core/neighbour.c | 2 +- net/core/net_namespace.c | 2 +- net/core/rtnetlink.c | 27 ++++++++------------------- net/dcb/dcbnl.c | 2 +- net/decnet/dn_dev.c | 2 +- net/decnet/dn_table.c | 2 +- net/ipv4/devinet.c | 4 ++-- net/ipv4/fib_semantics.c | 2 +- net/ipv4/fib_trie.c | 2 +- net/ipv4/ipmr.c | 4 ++-- net/ipv4/nexthop.c | 4 ++-- net/ipv6/addrconf.c | 8 ++++---- net/ipv6/ip6mr.c | 4 ++-- net/ipv6/ndisc.c | 2 +- net/ipv6/route.c | 9 +++++---- net/mpls/af_mpls.c | 4 ++-- net/phonet/pn_netlink.c | 4 ++-- net/sched/act_api.c | 13 ++++++------- net/sched/cls_api.c | 14 +++++++------- net/sched/sch_api.c | 13 ++++++------- net/wireless/wext-core.c | 2 +- 29 files changed, 69 insertions(+), 83 deletions(-)
Signature · 1 line
2.32.0