OSDN Git Service

s390/qeth: translate SETVLAN/DELVLAN errors
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Mon, 18 Sep 2017 19:18:20 +0000 (21:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 21:41:37 +0000 (14:41 -0700)
commit2aa4867198c22ecfae1c12f0c96c4c25fea01cb5
tree684ac5bb429f540e9ac46be52ff8ae67f537f3f2
parentab25a5014eddb4da94b7acf0d214265964c5fd21
s390/qeth: translate SETVLAN/DELVLAN errors

Properly return any error encountered during VLAN processing to the
the caller.
Resulting change in behaviour: if SETVLAN fails while registering a
new VLAN ID, the stack no longer creates the corresponding vlan device.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_mpc.h
drivers/s390/net/qeth_l2_main.c