diff options
author | Ursula Braun <ursula.braun@de.ibm.com> | 2012-03-07 02:06:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-07 22:52:25 -0800 |
commit | e0a8114c034cf8012565c5d56dd90967023cc724 (patch) | |
tree | 3514956ac112db812fb9db1efa4d043e8f09dc19 /scripts | |
parent | 205a8b649cf6c0a1e6e7512b65c72df480e2a883 (diff) | |
download | kernel-common-e0a8114c034cf8012565c5d56dd90967023cc724.tar.gz kernel-common-e0a8114c034cf8012565c5d56dd90967023cc724.tar.bz2 kernel-common-e0a8114c034cf8012565c5d56dd90967023cc724.zip |
qeth: meaningful return code for set_mac_address
Setting an invalid mac-address for a qeth layer2 device returns
with a strange error code:
# ip link set hsi1 address 00:00:00:00:00:01
RTNETLINK answers: Unknown error 18446744073709486085
Problem is caused by wrong usage of the return_code field within
structure qeth_ipa_cmd.
With this patch the ip command above returns
SIOCSIFHWADDR: Invalid argument
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions