]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
qed: Fix iWARP buffer size provided for syn packet processing.
authorMichal Kalderon <michal.kalderon@marvell.com>
Mon, 18 Feb 2019 13:24:02 +0000 (15:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 00:51:54 +0000 (16:51 -0800)
commit9addc92730df55e2c05e8d3f69267a89d65bcba8
tree47fdcab4d3e15f57ba8f038f26b201e1b7b2d6ae
parent8e29d23e28ee7fb995a00c1ca7e1a4caf5070b12
qed: Fix iWARP buffer size provided for syn packet processing.

The assumption that the maximum size of a syn packet is 128 bytes
is wrong. Tunneling headers were not accounted for.
Allocate buffers large enough for mtu.

Signed-off-by: Ariel Elior <ariel.elior@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
drivers/net/ethernet/qlogic/qed/qed_iwarp.h