Skip to content
Commit 941d8ebc authored by Simon Horman's avatar Simon Horman Committed by David S. Miller
Browse files

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 <tgraf@suug.ch>
Cc: Pravin Shelar <pshelar@nicira.com>
Cc: Andy Zhou <azhou@nicira.com>
Signed-off-by: default avatarSimon Horman <simon.horman@netronome.com>
Acked-by: default avatarThomas Graf <tgraf@noironetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 95f259ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment