act: fix a pointer in rtnl_act_msg_parse()

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Cong Wang 2014-03-23 12:02:10 -07:00 committed by Thomas Haller
parent 6d70d83947
commit b8d90d9bb1

View file

@ -454,7 +454,7 @@ err_free:
static int rtnl_act_msg_parse(struct nlmsghdr *n, struct rtnl_act **act)
{
struct rtnl_tc *tc = TC_CAST(act);
struct rtnl_tc *tc = TC_CAST(*act);
struct nl_cache *link_cache;
struct nlattr *tb[TCAA_MAX + 1];
struct tcamsg *tm;