summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann2017-12-13 18:56:29 +0100
committerDavid S. Miller2017-12-15 17:29:42 +0100
commit7fbd9493f0eeae8cef58300505a9ef5c8fce6313 (patch)
treea8e3243579014a342b68c8e121eb264514f12a8f /drivers/s390/net/qeth_core_main.c
parentMerge tag 'batadv-net-for-davem-20171215' of git://git.open-mesh.org/linux-merge (diff)
downloadkernel-qcow2-linux-7fbd9493f0eeae8cef58300505a9ef5c8fce6313.tar.gz
kernel-qcow2-linux-7fbd9493f0eeae8cef58300505a9ef5c8fce6313.tar.xz
kernel-qcow2-linux-7fbd9493f0eeae8cef58300505a9ef5c8fce6313.zip
s390/qeth: apply takeover changes when mode is toggled
Just as for an explicit enable/disable, toggling the takeover mode also requires that the IP addresses get updated. Otherwise all IPs that were added to the table before the mode-toggle, get registered with the old settings. Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_main.c')
-rw-r--r--drivers/s390/net/qeth_core_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index 430e3214f7e2..8d18675e60e2 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -1480,7 +1480,7 @@ static int qeth_setup_card(struct qeth_card *card)
qeth_set_intial_options(card);
/* IP address takeover */
INIT_LIST_HEAD(&card->ipato.entries);
- card->ipato.enabled = 0;
+ card->ipato.enabled = false;
card->ipato.invert4 = 0;
card->ipato.invert6 = 0;
/* init QDIO stuff */