diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2022-10-28 10:42:24 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-01 02:10:21 +0100 |
commit | f3a63cce1b4fbde7738395c5a2dea83f05de3407 (patch) | |
tree | 62f71cd0a3b2a40a6592a5702d9f77610d63eeb9 /include/soc | |
parent | rtnetlink: Honour NLM_F_ECHO flag in rtnl_newlink_create (diff) | |
download | linux-f3a63cce1b4fbde7738395c5a2dea83f05de3407.tar.xz linux-f3a63cce1b4fbde7738395c5a2dea83f05de3407.zip |
rtnetlink: Honour NLM_F_ECHO flag in rtnl_delete_link
This patch use the new helper unregister_netdevice_many_notify() for
rtnl_delete_link(), so that the kernel could reply unicast when userspace
set NLM_F_ECHO flag to request the new created interface info.
At the same time, the parameters of rtnl_delete_link() need to be updated
since we need nlmsghdr and portid info.
Suggested-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions