netns: enhance netlink interface for nsid

Bug #1443371 reported by Vincent JARDIN
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Joseph Salisbury
Precise
Won't Fix
Medium
Joseph Salisbury
Trusty
Won't Fix
Medium
Joseph Salisbury
Utopic
Won't Fix
Medium
Joseph Salisbury
Vivid
Won't Fix
Medium
Joseph Salisbury
Wily
Fix Released
Medium
Joseph Salisbury

Bug Description

The following feature is required to support nsid on netdevices:
  http://www.spinics.net/lists/netdev/msg324208.html

CVE References

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1443371

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Vincent JARDIN (vincent-jardin) wrote :

I did not record logs since it is missing on any Ubuntu versions that can be installed.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: bot-stop-nagging kernel-da-key
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
tags: added: precise trusty utopic vivid
Changed in linux (Ubuntu Utopic):
status: New → Triaged
Changed in linux (Ubuntu Trusty):
status: New → Triaged
Changed in linux (Ubuntu Precise):
status: New → Triaged
Changed in linux (Ubuntu Utopic):
importance: Undecided → Medium
Changed in linux (Ubuntu Trusty):
importance: Undecided → Medium
Changed in linux (Ubuntu Precise):
importance: Undecided → Medium
Changed in linux (Ubuntu Utopic):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Precise):
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Just to confirm, you are requesting the following three commits that are now in David Millers net-next tree?

a143c40 netns: allow to dump netns ids
9a96345 netns: notify netns id events
b111e4e netns: minor cleanup in rtnl_net_getid()

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It looks like this commit would also be needed:

0c7aecd4b netns: add rtnl cmd to add and get peer netns ids

Are there any other commits requested except these four?

Revision history for this message
Nicolas Dichtel (nicolas-dichtel) wrote :

Here is the list (with the dependencies):

0c7aecd4bde4 netns: add rtnl cmd to add and get peer netns ids
d37512a277df rtnl: add link netns id to interface messages
1728d4fabd1b tunnels: advertise link netns via netlink
317f4810e45e rtnl: allow to create device with IFLA_LINK_NETNSID set
bdef279b993b rtnl: fix error path when adding an iface with a link net
3390e397611c ip6gretap: advertise link netns via netlink
1f17257b1f4a vlan: advertise link netns via netlink
eaca400f1d14 macvlan: advertise link netns via netlink
e5f4e7b9ff33 veth: advertise link netns via netlink
193523bf9373 vxlan: advertise netns of vxlan dev in fdb msg
4967082b4693 vxlan: advertise link netns in fdb messages
33564bbb2cf1 vxlan: setup the right link netns in newlink hdlr
7b4ce694b203 rtnetlink: pass link_net to the newlink handler
06615bed60c1 net: Verify permission to link_net in newlink
cac5e65e8a7e net: do not use rcu in rtnl_dump_ifinfo()
436389007967 net: Handle unregister properly when netdev namespace change fails.
a54acb3a6f85 dev: introduce dev_get_iflink()
ecf2c06a88d2 ip6tnl,gre6,vti6: implement ndo_get_iflink
1e99584b911c ipip,gre,vti,sit: implement ndo_get_iflink
ee9b9596a8dd ipmr,ip6mr: implement ndo_get_iflink
2dbf6b5058ac vlan: implement ndo_get_iflink
ef5fa6bc46ee macvlan: implement ndo_get_iflink
7c4116588b2a ipvlan: implement ndo_get_iflink
5aa7add8f14b infiniband/ipoib: implement ndo_get_iflink
abd2be00d474 dsa: implement ndo_get_iflink
7a66bbc96ce9 net: remove iflink field from struct net_device
e1622baf54df dev: set iflink to 0 for virtual interfaces
a45253bf32bf veth: set iflink to the peer veth
576b7cd2f6ff netns: don't allocate an id for dead netns
b111e4e11123 netns: minor cleanup in rtnl_net_getid()
9a9634545c70 netns: notify netns id events
a143c40c32bb netns: allow to dump netns ids

Note that commit 5aa7add8f14b ("infiniband/ipoib: implement ndo_get_iflink") needs also this fix (not yet merged):
http://patchwork.ozlabs.org/patch/461764/

The goal of this backport is to be able to identify link netns of virtual interfaces.

Revision history for this message
Vincent JARDIN (vincent-jardin) wrote :

Please, what are the news?

Changed in linux (Ubuntu Vivid):
status: Triaged → Won't Fix
Changed in linux (Ubuntu Utopic):
status: Triaged → Won't Fix
Changed in linux (Ubuntu Trusty):
status: Triaged → Won't Fix
Changed in linux (Ubuntu Precise):
status: Triaged → Won't Fix
Changed in linux (Ubuntu Wily):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 4.1.0-1.1

---------------
linux (4.1.0-1.1) wily; urgency=low

  [ Andy Whitcroft ]

  * SAUCE: overlay: add backwards compatible overlayfs format support V3
    - LP: #1395877, #1410480
  * SAUCE: overlayfs: when copying up and reading directories ensure
    mounter had permissions V2
    - CVE-2015-1328
  * [Packaging] fix up Vcs-Git: to point to launchpad
  * [Config] correct linux-initramfs-tool virtual linkage
    - LP: #1474810

  [ Chris J Arges ]

  * [Config] Add dm-service-time to multipath-modules
    - LP: #1469240
  * [Config] Add MTD_POWERNV_FLASH and OPAL_PRD
    - LP: #1464560

  [ Jay Vosburgh ]

  * SAUCE: fan: Proof of concept implementation (v2)
    - LP: #1439706
  * SAUCE: fan: tunnel multiple mapping mode (v3)
    - LP: #1470091

  [ Leann Ogasawara ]

  * Revert "SAUCE: ext4: disable ext4_punch_hole for indirect filesystems"
  * Revert "SAUCE: intel_pstate: inform user that thermald is worth
    considering"
  * Revert "SAUCE: Work around broken ACPI backlight on Dell Inspiron 5537"
  * Revert "SAUCE: dm-crypt: never use write same"
  * Release Tracking Bug
    - LP: #1476333

  [ Tim Gardner ]

  * Rebase to v4.1
    - LP: #1443371
  * [Config] Enable Apparmor
  * [Config] CONFIG_OVERLAY_FS_V1=y
  * [Config] DEFAULT_IOSCHED="deadline" for ppc64el
    - LP: #1469829
  * [Config] CONFIG_VM86=n
    - LP: #1473447
  * [Config] ACORN_PARTITION=n
    - LP: #1453117

  [ Timo Aaltonen ]

  * [Config] Disable CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT
    - LP: #1473319

  [ Upstream Kernel Changes ]

  * efi: efivar_create_sysfs_entry() should return negative error codes
  * efi: Add esrt support
  * x86, doc: Remove cmdline_size from list of fields to be filled in for
    EFI handover
  * efi/esrt: Fix some compiler warnings
  * efi: dmi: List SMBIOS3 table before SMBIOS table
  * efi: Add 'systab' information to Documentation/ABI
  * ALSA: hda - restore the MIC FIXUP for some Dell machines
    - LP: #1473560
  * mtd: powernv: Add powernv flash MTD abstraction driver
    - LP: #1464560
  * powerpc/powernv: Expose OPAL APIs required by PRD interface
    - LP: #1464560
  * powerpc/powernv: Add opal-prd channel
    - LP: #1464560
  * powerpc/powernv: fix construction of opal PRD messages
    - LP: #1464560
  * powerpc/include: Add opal-prd to installed uapi headers
    - LP: #1464560
  * powerpc/powernv: Fix vma page prot flags in opal-prd driver
    - LP: #1464560

 -- Leann Ogasawara <email address hidden> Mon, 20 Jul 2015 10:16:06 -0700

Changed in linux (Ubuntu Wily):
status: In Progress → Fix Released
tags: added: 6wind
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.