Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 954e36b490b9b961641cf030817d10dba2a4ddea
      https://github.com/lxc/lxc/commit/954e36b490b9b961641cf030817d10dba2a4ddea
  Author: Thomas Parrott <thomas.parr...@canonical.com>
  Date:   2020-03-08 (Sun, 08 Mar 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: Adds short sleep between veth setup and neighbour proxy add

There is an intermittent issue, experienced on at least Ubuntu 18.04 
(5.3.0-40-generic) and Alpine 3.11 (5.4.12-1-virt) when using the router 
network interface type that causes the IP proxy neighbour entries on the host 
side of the veth pair to not be created.

The `ip neigh add proxy` command returns without an error, however by the time 
the network up hook has started the IP neighbour proxy entries are no longer 
there (if they ever were).

I've also tested this using netlink rather than the ip command to add and both 
are equally affected.

Adding a short sleep between setting up the veth pair and adding the proxy 
entries appears to fix it.

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>


  Commit: d31059efa647cb7e2857a2224124b0d879b2fb12
      https://github.com/lxc/lxc/commit/d31059efa647cb7e2857a2224124b0d879b2fb12
  Author: Christian Brauner <christian.brau...@ubuntu.com>
  Date:   2020-03-08 (Sun, 08 Mar 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  Merge pull request #3278 from tomponline/tp-proxy-sleep

network: Adds short sleep between veth setup and neighbour proxy add


Compare: https://github.com/lxc/lxc/compare/e901a7a15cc6...d31059efa647
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to