]> git.karo-electronics.de Git - karo-tx-linux.git/commit
datapath: Rename last_action() as nla_is_last() and move to netlink.h
authorSimon Horman <simon.horman@netronome.com>
Mon, 27 Oct 2014 07:12:16 +0000 (16:12 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:07:29 +0000 (17:07 -0400)
commit941d8ebcf773fd5da5c79e1c86e1afaae7032a0b
tree938da838954b36627289390bfd57ac0bcff6f76a
parent95f259ca3bf485a0c1f17d9024813d4aab485a23
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: Simon Horman <simon.horman@netronome.com>
Acked-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h
net/openvswitch/actions.c