summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/ip_set_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ip_set_core.c b/kernel/ip_set_core.c
index bef659a..dddc916 100644
--- a/kernel/ip_set_core.c
+++ b/kernel/ip_set_core.c
@@ -984,7 +984,7 @@ ip_set_dump_start(struct sk_buff *skb, struct netlink_callback *cb)
if (cb->args[0] == DUMP_INIT) {
ret = dump_init(cb);
if (ret < 0) {
- struct nlmsghdr *nlh = nlmsg_hdr(cb->skb);
+ nlh = nlmsg_hdr(cb->skb);
/* We have to create and send the error message
* manually :-( */
if (nlh->nlmsg_flags & NLM_F_ACK)