OSDN Git Service

netlink: make nlmsg_end() and genlmsg_end() void
[uclinux-h8/linux.git] / net / decnet / dn_table.c
index 3f19fcb..1540b50 100644 (file)
@@ -367,7 +367,8 @@ static int dn_fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event,
                nla_nest_end(skb, mp_head);
        }
 
-       return nlmsg_end(skb, nlh);
+       nlmsg_end(skb, nlh);
+       return 0;
 
 errout:
        nlmsg_cancel(skb, nlh);