Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netlink linux: fix to append the netnsid netlink attr.
The attribute was being prepended to the netlink buffer, but the function nl_sock_transact_multiple__() expects to find the netlink header as first to update the length, seq and pid fields. This patch fixes to append the attribute instead of prepending it. Fixes: 756819d ("netdev-linux: use netlink to update netdev.") Acked-by: Aaron Conole <[email protected]> Signed-off-by: Flavio Leitner <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information