summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorPotnuri Bharat Teja <bharat@chelsio.com>2019-10-03 13:43:53 +0300
committerDoug Ledford <dledford@redhat.com>2019-10-18 21:35:19 +0300
commit612e0486ad0845c41ac10492e78144f99e326375 (patch)
treec53a389a1ada63d20dde168dd2648781e03ab4a4 /drivers/infiniband/core
parent22bb13653410424d9fce8d447506a41f8292f22f (diff)
downloadlinux-612e0486ad0845c41ac10492e78144f99e326375.tar.xz
iw_cxgb4: fix ECN check on the passive accept
pass_accept_req() is using the same skb for handling accept request and sending accept reply to HW. Here req and rpl structures are pointing to same skb->data which is over written by INIT_TP_WR() and leads to accessing corrupt req fields in accept_cr() while checking for ECN flags. Reordered code in accept_cr() to fetch correct req fields. Fixes: 92e7ae7172 ("iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections") Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Link: https://lore.kernel.org/r/20191003104353.11590-1-bharat@chelsio.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions