[lxc-devel] [lxc/lxc] 3646ff: network: introduce lxc_ifname_alnum_case_sensitive()

Stéphane Graber noreply at github.com
Sat Mar 21 11:22:54 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3646ffd9ae679f79e583a9a42baebf27a4a7010a
      https://github.com/lxc/lxc/commit/3646ffd9ae679f79e583a9a42baebf27a4a7010a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c
    M src/lxc/criu.c
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  network: introduce lxc_ifname_alnum_case_sensitive()

Right now we have 36^n unique network device names. Let's make it 62^n.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: fa2e1cea8de4f3e9bbb4ceccdcfd78bb64e87f58
      https://github.com/lxc/lxc/commit/fa2e1cea8de4f3e9bbb4ceccdcfd78bb64e87f58
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c

  Log Message:
  -----------
  lxc-user-nic: enable uid-marked veth devices for uids with 5 digits

With the newly extended lxc_ifname_alnum_case_sensitive() we'll have 62^4
unique network device names per user.

Closes #3176.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 7d2b8a6f34dd470c689adfa0c43a55fb4034b5f3
      https://github.com/lxc/lxc/commit/7d2b8a6f34dd470c689adfa0c43a55fb4034b5f3
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c
    M src/lxc/criu.c
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  Merge pull request #3319 from brauner/2020-03-21/fixes

network: fixes


Compare: https://github.com/lxc/lxc/compare/0c24153720df...7d2b8a6f34dd


More information about the lxc-devel mailing list