Skip to content

Commit 80de809

Browse files
Thorsten Winklerdavem330
authored andcommitted
s390/qeth: Fix vipa deletion
Change boolean parameter of function "qeth_l3_vipa_store" inside the "qeth_l3_dev_vipa_del4_store" function from "true" to "false" because "true" is used for adding a virtual ip address and "false" for deleting. Fixes: 2390166 ("s390/qeth: clean up L3 sysfs code") Reviewed-by: Alexandra Winter <[email protected]> Reviewed-by: Wenjia Zhang <[email protected]> Signed-off-by: Thorsten Winkler <[email protected]> Signed-off-by: Alexandra Winter <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 14bb236 commit 80de809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/net/qeth_l3_sys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ static QETH_DEVICE_ATTR(vipa_add4, add4, 0644,
625625
static ssize_t qeth_l3_dev_vipa_del4_store(struct device *dev,
626626
struct device_attribute *attr, const char *buf, size_t count)
627627
{
628-
return qeth_l3_vipa_store(dev, buf, true, count, QETH_PROT_IPV4);
628+
return qeth_l3_vipa_store(dev, buf, false, count, QETH_PROT_IPV4);
629629
}
630630

631631
static QETH_DEVICE_ATTR(vipa_del4, del4, 0200, NULL,

0 commit comments

Comments
 (0)