From: Richard Alpe Date: Mon, 9 Feb 2015 08:50:05 +0000 (+0100) Subject: tipc: convert legacy nl bearer enable/disable to nl compat X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~9^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab154658a7ff2c5076607e02f18581c6859fc2a;p=pandora-kernel.git tipc: convert legacy nl bearer enable/disable to nl compat Introduce a framework for transcoding legacy nl action into actions (.doit) calls from the new nl API. This is done by converting the incoming TLV data into netlink data with nested netlink attributes. Unfortunately due to the randomness of the legacy API we can't do this generically so each legacy netlink command requires a specific transcoding recipe. In this case for bearer enable and bearer disable. Convert TIPC_CMD_ENABLE_BEARER and TIPC_CMD_DISABLE_BEARER into doit compat calls. 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