diff options
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2013-04-22 01:12:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-22 15:39:27 -0400 |
commit | d4ae1f5e5eb3a6b367acb137dec9e9599b0ce3f3 (patch) | |
tree | 66029f13e635a86d7e32ea03ad5d6f0a6f0f9de7 /drivers/s390/net/qeth_core.h | |
parent | 065cc782e7d2fa4b1b31964d75a29fa72138242c (diff) | |
download | op-kernel-dev-d4ae1f5e5eb3a6b367acb137dec9e9599b0ce3f3.zip op-kernel-dev-d4ae1f5e5eb3a6b367acb137dec9e9599b0ce3f3.tar.gz |
qeth: Fix missing pointer update
qeth_hdr_chk_and_bounce() can possibly shift the skb->data
pointer. However, the existing code didn't update the hdr pointer,
which should point to skb->data, accordingly.
Symptoms of this issue are sporadic recoveries.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 762d6dd..ab4d286 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -929,7 +929,7 @@ void qeth_core_get_drvinfo(struct net_device *, struct ethtool_drvinfo *); void qeth_dbf_longtext(debug_info_t *id, int level, char *text, ...); int qeth_core_ethtool_get_settings(struct net_device *, struct ethtool_cmd *); int qeth_set_access_ctrl_online(struct qeth_card *card, int fallback); -int qeth_hdr_chk_and_bounce(struct sk_buff *, int); +int qeth_hdr_chk_and_bounce(struct sk_buff *, struct qeth_hdr **, int); int qeth_configure_cq(struct qeth_card *, enum qeth_cq); int qeth_hw_trap(struct qeth_card *, enum qeth_diags_trap_action); int qeth_query_ipassists(struct qeth_card *, enum qeth_prot_versions prot); |