public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] net: Use nlmsg_{multicast, unicast} that contain if statement
@ 2021-07-13 12:36 Yajun Deng
  2021-07-13 12:36 ` [PATCH 1/2] rtnetlink: use nlmsg_{multicast, unicast} instead of netlink_{broadcast,unicast} Yajun Deng
  0 siblings, 1 reply; 3+ messages in thread
From: Yajun Deng @ 2021-07-13 12:36 UTC (permalink / raw)
  To: davem, kuba, jhs, xiyou.wangcong, jiri, yajun.deng, johannes.berg,
	ryazanov.s.a, avagin, vladimir.oltean, roopa, zhudi21
  Cc: linux-kernel, netdev

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-15  4:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-13 12:36 [PATCH 0/2] net: Use nlmsg_{multicast, unicast} that contain if statement Yajun Deng
2021-07-13 12:36 ` [PATCH 1/2] rtnetlink: use nlmsg_{multicast, unicast} instead of netlink_{broadcast,unicast} Yajun Deng
2021-07-15  4:21   ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox