datapath: Check if nla_is_last() is available in <net/netlink.h>
authorThomas Graf <tgraf@noironetworks.com>
Wed, 3 Dec 2014 12:02:31 +0000 (13:02 +0100)
committerPravin B Shelar <pshelar@nicira.com>
Wed, 10 Dec 2014 01:09:26 +0000 (17:09 -0800)
commit0fcc086dc7da3fa832af11fa4a8ca24afb78cbe0
treebb575de7ded6e63a7c6b61d775cb9bd02dff022c
parent67ce407f561c64c662127505b1ef3b4c5f7cf7c0
datapath: Check if nla_is_last() is available in <net/netlink.h>

nla_is_last() is not available in 3.18, it's only in net-next.
Convert to grep based to check to account for distribution backports.

Fixes: 684b5f ("datapath: Rename last_action() as nla_is_last() and move to netlink.h")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
acinclude.m4
datapath/linux/compat/include/net/netlink.h