diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 204297dffd2aecc7d5616f839dc4f34c9359f7da..56af8e41abfcbfede9300d972a1b8852519a52a6 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -2802,9 +2802,6 @@ static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, if (err < 0) return err; - if (tb[IFLA_IF_NETNSID]) - return -EOPNOTSUPP; - if (tb[IFLA_IFNAME]) nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); else