diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2015-12-11 14:27:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-15 00:16:45 +0300 |
commit | 577777359e1f47d0cb7dfc23aac0da867a14af00 (patch) | |
tree | 10a408827ce0e5509fd20d7f4062d2a6b092a483 /drivers/rtc/rtc-lp8788.c | |
parent | e5ebe63214d44d4dcf43df02edf3613e04d671b9 (diff) | |
download | linux-577777359e1f47d0cb7dfc23aac0da867a14af00.tar.xz |
qeth: repair SBAL elements calculation
When sending skbs, qeth determines the number of qdio SBAL elements
required. If qeth sends a fragmented skb, the SBAL element number
calculation is wrong, because the fragmented data part is added
twice in qeth_l3_tso_elements(). This patch makes sure fragmented
data is handled in qeth_elements_for_frags() only, while
qeth_l3_tso_elements() starts calculation of qdio SBAL elements just
with the linear data part of the skb.
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-lp8788.c')
0 files changed, 0 insertions, 0 deletions