summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/errno.h
diff options
context:
space:
mode:
authorRichard Alpe2015-02-09 09:50:04 +0100
committerDavid S. Miller2015-02-09 22:20:47 +0100
commitd0796d1ef63deb38147729664691ba3090930b26 (patch)
treeb227569cf4d6cd2250000095f1a1867f86d08854 /include/uapi/linux/errno.h
parenttipc: move and rename the legacy nl api to "nl compat" (diff)
downloadkernel-qcow2-linux-d0796d1ef63deb38147729664691ba3090930b26.tar.gz
kernel-qcow2-linux-d0796d1ef63deb38147729664691ba3090930b26.tar.xz
kernel-qcow2-linux-d0796d1ef63deb38147729664691ba3090930b26.zip
tipc: convert legacy nl bearer dump to nl compat
Introduce a framework for dumping netlink data from the new netlink API and formatting it to the old legacy API format. This is done by looping the dump data and calling a format handler for each entity, in this case a bearer. We dump until either all data is dumped or we reach the limited buffer size of the legacy API. Remember, the legacy API doesn't scale. In this commit we convert TIPC_CMD_GET_BEARER_NAMES to use the compat layer. Signed-off-by: Richard Alpe <richard.alpe@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/errno.h')
0 files changed, 0 insertions, 0 deletions