]> git.proxmox.com Git - mirror_iproute2.git/commit
lib: Extract from devlink/mnlg a helper, mnlu_socket_recv_run()
authorPetr Machata <me@pmachata.org>
Thu, 12 Nov 2020 22:24:43 +0000 (23:24 +0100)
committerDavid Ahern <dsahern@gmail.com>
Sat, 14 Nov 2020 02:43:15 +0000 (19:43 -0700)
commit6dd778e8378988658955c10870b4b5396940f1f9
tree6bd21ab12fe2533e83ae26b91026c73262cb84a8
parentdd78dfc7be696b3d9066b5dd58e9dafaa1f2a195
lib: Extract from devlink/mnlg a helper, mnlu_socket_recv_run()

Receiving a message in libmnl is a somewhat involved operation. Devlink's
mnlg library has an implementation that is going to be handy for other
tools as well. Extract it into a new helper.

Signed-off-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
devlink/mnlg.c
include/mnl_utils.h
lib/mnl_utils.c