[PATCH 0/2] net: Use nlmsg_{multicast, unicast} that contain if statement

Yajun Deng
2021-07-13T12:37:24Z

Patch1: use nlmsg_{multicast, unicast} instead of netlink_
{broadcast,unicast} in rtnetlink.
Patch2: The caller no need deal with the if statements and use
the rename function.

Yajun Deng (2):
rtnetlink: use nlmsg_{multicast, unicast} instead of
netlink_{broadcast,unicast}
net/sched: Remove unnecessary judgment statements

include/linux/rtnetlink.h | 2 +-
net/core/rtnetlink.c | 13 +++++++------
net/sched/act_api.c | 20 ++++++--------------
net/sched/cls_api.c | 28 +++++++++++-----------------
net/sched/sch_api.c | 18 ++++++------------
5 files changed, 31 insertions(+), 50 deletions(-)

--
2.32.0