Commit 269fb0b7 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

net: libnetlink -- Drop trailing whitespaces

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent c53408d6
......@@ -10,13 +10,13 @@ int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len)
memset(tb, 0, sizeof(struct rtattr *) * (max + 1));
while (RTA_OK(rta, len)) {
if ((rta->rta_type <= max) && (!tb[rta->rta_type]))
tb[rta->rta_type] = rta;
tb[rta->rta_type] = rta;
rta = RTA_NEXT(rta,len);
}
}
if (len)
pr_warning("Trimmed RTA: len %d, rta_len %d\n", len, rta->rta_len);
return 0;
}
}
int nlmsg_receive(char *buf, int len, int (*cb)(struct nlmsghdr *))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment