Public bug reported:

[Impact]

When tuntap interfaces are slaves of a bonding interface, arp monitoring
is unusable.

This is fixed upstream with commit a31d27fbed5d ("tun: fix bonding
active backup with arp monitoring"). It will be included in linux v5.16.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a31d27fbed5d

[Test Case]

Create a bonding with two tuntap interfaces and arp monitoring
configured. Before the patch, slave interfaces are flapping
continuously.

Example:
Nov 19 16:12:28 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
Nov 19 16:12:28 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
Nov 19 16:12:28 dut-vm kernel: bond0: active interface up!
Nov 19 16:12:31 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
Nov 19 16:12:31 dut-vm kernel: bond0: now running without any active interface!
Nov 19 16:12:32 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
Nov 19 16:12:32 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
Nov 19 16:12:32 dut-vm kernel: bond0: active interface up!
Nov 19 16:12:35 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
Nov 19 16:12:35 dut-vm kernel: bond0: now running without any active interface!
Nov 19 16:12:36 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
Nov 19 16:12:36 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
Nov 19 16:12:36 dut-vm kernel: bond0: active interface up!
Nov 19 16:12:37 dut-vm kernel: bond0: (slave ntfp3): link status definitely up
Nov 19 16:12:39 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
Nov 19 16:12:39 dut-vm kernel: bond0: (slave ntfp3): making interface the new 
active one

[Regression Potential]

The patch is trivial, the potential regressions are low.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [Impact]
  
  When tuntap interfaces are slaves of a bonding interface, arp monitoring
- is fails
+ is unusable.
  
  This is fixed upstream with commit a31d27fbed5d ("tun: fix bonding
  active backup with arp monitoring"). It will be included in linux v5.16.
  
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a31d27fbed5d
  
  [Test Case]
  
  Create a bonding with two tuntap interfaces and arp monitoring
  configured. Before the patch, slave interfaces are flapping
  continuously.
  
  Example:
  Nov 19 16:12:28 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
  Nov 19 16:12:28 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
  Nov 19 16:12:28 dut-vm kernel: bond0: active interface up!
  Nov 19 16:12:31 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
  Nov 19 16:12:31 dut-vm kernel: bond0: now running without any active 
interface!
  Nov 19 16:12:32 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
  Nov 19 16:12:32 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
  Nov 19 16:12:32 dut-vm kernel: bond0: active interface up!
  Nov 19 16:12:35 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
  Nov 19 16:12:35 dut-vm kernel: bond0: now running without any active 
interface!
  Nov 19 16:12:36 dut-vm kernel: bond0: (slave ntfp2): link status definitely up
  Nov 19 16:12:36 dut-vm kernel: bond0: (slave ntfp2): making interface the new 
active one
  Nov 19 16:12:36 dut-vm kernel: bond0: active interface up!
  Nov 19 16:12:37 dut-vm kernel: bond0: (slave ntfp3): link status definitely up
  Nov 19 16:12:39 dut-vm kernel: bond0: (slave ntfp2): link status definitely 
down, disabling slave
  Nov 19 16:12:39 dut-vm kernel: bond0: (slave ntfp3): making interface the new 
active one
  
  [Regression Potential]
  
  The patch is trivial, the potential regressions are low.

** Summary changed:

- bondig: arp monitoring is failing with tuntap interfaces
+ bonding: arp monitoring is failing with tuntap interfaces

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951606

Title:
  bonding: arp monitoring is failing with tuntap interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1951606/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to