diff options
author | Thomas Klein <osstklei@de.ibm.com> | 2008-04-04 15:04:53 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-12 04:47:50 -0400 |
commit | 44fb3126d7e6fb411775551b4653643f1d28ebe9 (patch) | |
tree | e7f8e112de20e501b5e73bbd38b530a77e954169 /drivers/net/ehea/ehea.h | |
parent | 5a81f14330ce70bc256b624593768fd1b4170d27 (diff) | |
download | kernel_samsung_smdk4412-44fb3126d7e6fb411775551b4653643f1d28ebe9.zip kernel_samsung_smdk4412-44fb3126d7e6fb411775551b4653643f1d28ebe9.tar.gz kernel_samsung_smdk4412-44fb3126d7e6fb411775551b4653643f1d28ebe9.tar.bz2 |
ehea: Fix DLPAR memory add support
This patch fixes two weaknesses in send/receive packet handling which may
lead to kernel panics during DLPAR memory add operations.
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ehea/ehea.h')
-rw-r--r-- | drivers/net/ehea/ehea.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea/ehea.h index 93b7fb2..a8d3280 100644 --- a/drivers/net/ehea/ehea.h +++ b/drivers/net/ehea/ehea.h @@ -40,7 +40,7 @@ #include <asm/io.h> #define DRV_NAME "ehea" -#define DRV_VERSION "EHEA_0089" +#define DRV_VERSION "EHEA_0090" /* eHEA capability flags */ #define DLPAR_PORT_ADD_REM 1 @@ -371,6 +371,7 @@ struct ehea_port_res { struct ehea_q_skb_arr rq2_skba; struct ehea_q_skb_arr rq3_skba; struct ehea_q_skb_arr sq_skba; + int sq_skba_size; spinlock_t netif_queue; int queue_stopped; int swqe_refill_th; |