]> git.ipfire.org Git - thirdparty/iproute2.git/commit
rtnetlink: add new function rtnl_echo_talk()
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 29 Sep 2022 08:10:16 +0000 (16:10 +0800)
committerDavid Ahern <dsahern@kernel.org>
Thu, 29 Sep 2022 15:05:03 +0000 (09:05 -0600)
commit6c09257f1bf6b833ec9b2d5174dd5ea39e9dfd17
tree12ce79df2caa83b86b67a99c98fc2eeb742c7e36
parentd8d3aadf347c72e7a29fc297b0b92ce2611d0391
rtnetlink: add new function rtnl_echo_talk()

Add a new function rtnl_echo_talk() that could be used when the
sub-component supports NLM_F_ECHO flag. With this function we can
remove the redundant code added by commit b264b4c6568c7 ("ip: add
NLM_F_ECHO support").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/libnetlink.h
ip/ipaddress.c
ip/iplink.c
ip/ipnexthop.c
ip/iproute.c
ip/iprule.c
lib/libnetlink.c