mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 01:56:42 +07:00
RDMA/cxgb4: Server filters are supported only for IPv4
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a4ea025fc2
commit
8c04469057
@ -2938,7 +2938,8 @@ int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog)
|
||||
/*
|
||||
* Allocate a server TID.
|
||||
*/
|
||||
if (dev->rdev.lldi.enable_fw_ofld_conn)
|
||||
if (dev->rdev.lldi.enable_fw_ofld_conn &&
|
||||
ep->com.local_addr.ss_family == AF_INET)
|
||||
ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids,
|
||||
cm_id->local_addr.ss_family, ep);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user