qeth: Fix invalid router settings handling
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Mon, 18 Mar 2013 20:04:43 +0000 (20:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2013 14:09:40 +0000 (10:09 -0400)
commit82e2e782a3e486e3bfcc6130f0ebc28453af9955
treebd104698d7d15746e0d148938f418f6d53d836e3
parent82f77cf9704cd06c452019421e5aada3a0648c76
qeth: Fix invalid router settings handling

Give a bad return code when specifying a router setting that is either
invalid or not support on the respective device type. In addition, fall back
the previous setting instead of silently switching back to 'no routing'.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/qeth_l3_sys.c