[ovs-git] [openvswitch/ovs] 3c54cf: netlink linux: fix to append the netnsid netlink a...

Flavio Leitner noreply at github.com
Tue Apr 16 22:50:22 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: 3c54cf1760fb023d9c137b009250262bfbfdff6a
      https://github.com/openvswitch/ovs/commit/3c54cf1760fb023d9c137b009250262bfbfdff6a
  Author: Flavio Leitner <fbl at sysclose.org>
  Date:   2019-04-16 (Tue, 16 Apr 2019)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  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: 756819ddd788 ("netdev-linux: use netlink to update netdev.")
Acked-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list