From: Richard Alpe Date: Mon, 9 Feb 2015 08:50:04 +0000 (+0100) Subject: tipc: convert legacy nl bearer dump to nl compat X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~9^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0796d1ef63deb38147729664691ba3090930b26;p=pandora-kernel.git 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 Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed