]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix MPA unalign flow in case header is split across two packets.
authorMichal Kalderon <Michal.Kalderon@cavium.com>
Wed, 14 Mar 2018 12:49:27 +0000 (14:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 16:13:50 +0000 (12:13 -0400)
commit9f09e33a113615555a3a35e472940f3466da1191
tree1c0f41b94dcfdb71ed7ed2b5d99b6ef9f65558e3
parentd228348b3460cbd8b2c3a2a0da651603747ee7a1
qed: Fix MPA unalign flow in case header is split across two packets.

There is a corner case in the MPA unalign flow where a FPDU header is
split over two tcp segments. The length of the first fragment in this
case was not initialized properly and should be '1'

Fixes: c6d9ddc1 ("qed: Add support for MPA header being split over two tcp packets")
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c