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

Commit 87f2158d authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: ipc_router: Register services only on client port" into msm-4.9

parents 322becdb 63cf359b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2798,6 +2798,9 @@ int msm_ipc_router_register_server(struct msm_ipc_port *port_ptr,
	if (!port_ptr || !name)
		return -EINVAL;

	if (port_ptr->type != CLIENT_PORT)
		return -EINVAL;

	if (name->addrtype != MSM_IPC_ADDR_NAME)
		return -EINVAL;