|
@@ -56,7 +56,6 @@ static bool tb_xdomain_match(const struct tb_cfg_request *req,
|
|
|
case TB_CFG_PKG_XDOMAIN_RESP: {
|
|
|
const struct tb_xdp_header *res_hdr = pkg->buffer;
|
|
|
const struct tb_xdp_header *req_hdr = req->request;
|
|
|
- u32 req_seq, res_seq;
|
|
|
|
|
|
if (pkg->frame.size < req->response_size / 4)
|
|
|
return false;
|
|
@@ -68,14 +67,6 @@ static bool tb_xdomain_match(const struct tb_cfg_request *req,
|
|
|
if ((res_hdr->xd_hdr.route_lo) != req_hdr->xd_hdr.route_lo)
|
|
|
return false;
|
|
|
|
|
|
- /* Then check that the sequence number matches */
|
|
|
- res_seq = res_hdr->xd_hdr.length_sn & TB_XDOMAIN_SN_MASK;
|
|
|
- res_seq >>= TB_XDOMAIN_SN_SHIFT;
|
|
|
- req_seq = req_hdr->xd_hdr.length_sn & TB_XDOMAIN_SN_MASK;
|
|
|
- req_seq >>= TB_XDOMAIN_SN_SHIFT;
|
|
|
- if (res_seq != req_seq)
|
|
|
- return false;
|
|
|
-
|
|
|
/* Check that the XDomain protocol matches */
|
|
|
if (!uuid_equal(&res_hdr->uuid, &req_hdr->uuid))
|
|
|
return false;
|