Thread (4 messages) flat view 4 messages, 3 authors, 2021-11-15

Re: [PATCH net-next] net: wwan: iosm: device trace collection using relayfs

From: Kumar, M Chetan <hidden>
Date: 2021-11-15 13:55:05


On 11/15/2021 6:59 PM, Denis Kirjanov wrote:
quoted
  /* Check the wwan ips if it is valid with Channel as input. */
  static int ipc_imem_check_wwan_ips(struct ipc_mem_channel *chnl)
@@ -265,9 +266,14 @@ static void ipc_imem_dl_skb_process(struct 
iosm_imem *ipc_imem,
      switch (pipe->channel->ctype) {
      case IPC_CTYPE_CTRL:
          port_id = pipe->channel->channel_id;
+        ipc_pcie_addr_unmap(ipc_imem->pcie, IPC_CB(skb)->len,
+                    IPC_CB(skb)->mapping,
+                    IPC_CB(skb)->direction);
Looks like the hunk above is not related to the subject, right?
It is related.
Trace SKB->data is unmapped before passing SKB->data to relayfs.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help