← Back to team overview

kernel-packages team mailing list archive

[Bug 1525324] Re: kernel/bonding: wrong netlink messages when deleting a bonding interface

 

Nicolas Dichtel, could you please attach the requested information as
outlined in
https://help.ubuntu.com/community/ReportingBugs#Filing_bugs_when_offline_or_using_a_headless_setup
?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1525324

Title:
  kernel/bonding: wrong netlink messages when deleting a bonding
  interface

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Here is the bug:

  root@ubuntu1404:~# modprobe bonding
  root@ubuntu1404:~# modprobe dummy
  root@ubuntu1404:~# ip link set dummy0 master bond0
  root@ubuntu1404:~# ip monitor link&
  [1] 1065
  root@ubuntu1404:~# ip link del bond0
  Deleted 6: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default 
      link/ether c2:46:53:08:ee:50 brd ff:ff:ff:ff:ff:ff
  7: dummy0: <BROADCAST,NOARP,SLAVE,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default 
      link/ether c2:46:53:08:ee:50 brd ff:ff:ff:ff:ff:ff
  7: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default 
      link/ether c2:46:53:08:ee:50 brd ff:ff:ff:ff:ff:ff
  6: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default 
      link/ether e6:49:16:3b:17:fe brd ff:ff:ff:ff:ff:ff
  6: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default 
  root@ubuntu1404:~#     link/ether e6:49:16:3b:17:fe brd ff:ff:ff:ff:ff:ff
  7: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noqueue state DOWN group default 
      link/ether c2:46:53:08:ee:50 brd ff:ff:ff:ff:ff:ff
  7: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noqueue state DOWN group default 
      link/ether c2:46:53:08:ee:50 brd ff:ff:ff:ff:ff:ff
  ^C
  root@ubuntu1404:~# uname -a
  Linux ubuntu1404 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  root@ubuntu1404:~#

  A netlink message advertise that bond0 is deleted and after that two
  netlink messages are sent telling that bond0 exists again.

  This bug has been fixed by these upstream commits:
  56bfa7ee7c88 unregister_netdevice : move RTM_DELLINK to until after ndo_uninit
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=56bfa7ee7c88
  395eea6ccf2b rtnetlink: delay RTM_DELLINK notification until after ndo_uninit()
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=395eea6ccf2b

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


References