OSDN Git Service

Merge branch 'rtnetlink-enable-IFLA_IF_NETNSID-for-RTM_DELLINK-RTM_SETINK'
authorDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 16:31:07 +0000 (11:31 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 16:31:07 +0000 (11:31 -0500)
commit2479c2c9f4c4db24afc8be1a0ff507343ff000f8
treed08ca8888d76c28e4ebc7dc6982de304ec0cc44c
parent3e3ab9ccca5b50b11bd4d16c2048b667343354bd
parentb61ad68a9fe85d29d5363eb36860164a049723cf
Merge branch 'rtnetlink-enable-IFLA_IF_NETNSID-for-RTM_DELLINK-RTM_SETINK'

Christian Brauner says:

====================
rtnetlink: enable IFLA_IF_NETNSID for RTM_{DEL,SET}LINK

Based on the previous discussion this enables passing a IFLA_IF_NETNSID
property along with RTM_SETLINK and RTM_DELLINK requests. The patch for
RTM_NEWLINK will be sent out in a separate patch since there are more
corner-cases to think about.

Changelog 2018-01-24:
* Preserve old behavior and report -ENODEV when either ifindex or ifname is
  provided and IFLA_GROUP is set. Spotted by Wolfgang Bumiller.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>