mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 05:55:11 +08:00
libnetlink: Fix wrong netlink header placement
The netlink header must be first in the netlink message, so move it
there.
Fixes: fee4a56f01
("Update kernel headers")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
This commit is contained in:
parent
2e2b534671
commit
fa94a97921
@ -38,9 +38,9 @@ struct nlmsg_chain {
|
||||
};
|
||||
|
||||
struct ipstats_req {
|
||||
struct nlmsghdr nlh;
|
||||
struct if_stats_msg ifsm;
|
||||
char buf[128];
|
||||
struct nlmsghdr nlh;
|
||||
};
|
||||
|
||||
extern int rcvbuf;
|
||||
|
Loading…
Reference in New Issue
Block a user