diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2017-06-21 14:59:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-22 18:17:41 +0300 |
commit | e26f43faa0d79dd06e9e94829696b68b9940c2ee (patch) | |
tree | 2563af55925c20e73e99e5c72bf7edd42a1ae930 /lib/bug.c | |
parent | dfa523ae9f2542bee4cddaea37b3be3e157f6e6b (diff) | |
download | linux-e26f43faa0d79dd06e9e94829696b68b9940c2ee.tar.xz |
macvlan: Do not return error when setting the same mac address
The user currently gets an EBUSY error when attempting to set
the mac address on a macvlan device to the same value.
This should really be a no-op as nothing changes. Catch
the condition and return early.
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions