.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2014 Nicira, Inc. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or |
---|
5 | | - * modify it under the terms of the GNU General Public License |
---|
6 | | - * as published by the Free Software Foundation; either version |
---|
7 | | - * 2 of the License, or (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
93 | 89 | return ERR_CAST(dev); |
---|
94 | 90 | } |
---|
95 | 91 | |
---|
96 | | - err = dev_change_flags(dev, dev->flags | IFF_UP); |
---|
| 92 | + err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); |
---|
97 | 93 | if (err < 0) { |
---|
98 | 94 | rtnl_delete_link(dev); |
---|
99 | 95 | rtnl_unlock(); |
---|