From b8d90d9bb19b5d9e4e5f71c4f6bb0eaadd78d7a0 Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Sun, 23 Mar 2014 12:02:10 -0700 Subject: [PATCH] act: fix a pointer in rtnl_act_msg_parse() Signed-off-by: Cong Wang Acked-by: Thomas Graf Signed-off-by: Thomas Haller --- lib/route/act.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/route/act.c b/lib/route/act.c index 1e9673f..f5733bb 100644 --- a/lib/route/act.c +++ b/lib/route/act.c @@ -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;