From: Simon Horman Date: Mon, 27 Oct 2014 07:12:16 +0000 (+0900) Subject: datapath: Rename last_action() as nla_is_last() and move to netlink.h X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=941d8ebcf773fd5da5c79e1c86e1afaae7032a0b;p=pandora-kernel.git datapath: Rename last_action() as nla_is_last() and move to netlink.h The original motivation for this change was to allow the helper to be used in files other than actions.c as part of work on an odp select group action. It was as pointed out by Thomas Graf that this helper would be best off living in netlink.h. Furthermore, I think that the generic nature of this helper means it is best off in netlink.h regardless of if it is used more than one .c file or not. Thus, I would like it considered independent of the work on an odp select group action. Cc: Thomas Graf Cc: Pravin Shelar Cc: Andy Zhou Signed-off-by: Simon Horman Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed