···8383 if (!priv)8484 return -EINVAL;85858686- /* Get length of CAIF packet. */8787- pktlen = cfpkt_getlen(pkt);8888-8986 skb = (struct sk_buff *) cfpkt_tonative(pkt);8787+8888+ /* Get length of CAIF packet. */8989+ pktlen = skb->len;9090+9091 /* Pass some minimum information and9192 * send the packet to the net stack.9293 */