Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c044690 authored by Kumar Sanghvi's avatar Kumar Sanghvi Committed by David S. Miller
Browse files

RDMA/cxgb4: Server filters are supported only for IPv4

parent a4ea025f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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