projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2687a
)
ibmvnic: Sanitize entire SCRQ buffer on reset
author
Thomas Falcon
<tlfalcon@linux.vnet.ibm.com>
Thu, 15 Jun 2017 04:50:07 +0000
(23:50 -0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 15 Jun 2017 18:29:00 +0000
(14:29 -0400)
Fixup a typo so that the entire SCRQ buffer is cleaned.
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index 134ab295c1d6ef22c9e92ba2c68cf71f9b6bef10..03ddf6e1b5b3390e929ffc5ba020c04f352810b3 100644
(file)
--- a/
drivers/net/ethernet/ibm/ibmvnic.c
+++ b/
drivers/net/ethernet/ibm/ibmvnic.c
@@
-1752,7
+1752,7
@@
static int reset_one_sub_crq_queue(struct ibmvnic_adapter *adapter,
scrq->irq = 0;
}
- memset(scrq->msgs, 0,
2
* PAGE_SIZE);
+ memset(scrq->msgs, 0,
4
* PAGE_SIZE);
scrq->cur = 0;
rc = h_reg_sub_crq(adapter->vdev->unit_address, scrq->msg_token,