Zhu Yi wrote: >> void* hdr; >> >> if(!skb) >> goto out; >> >> hdr = genlmsg_put(skb, 0, 0, &nl80211_fam, 0, NL80211_CMD_DISCOSEC); >> if(IS_ERR(hdr)) >> goto free_skb; >> >> nla_put_u32(skb, NL80211_ATTR_DISCOSEC_HELO, 42); >> genlmsg_end(skb, hdr); >> genlmsg_unicast(skb, get_daemon_pid()); >> >> free_skb: >> nlmsg_free(skb); > > No need to free on the correct path. The skb is added to the > receive_queue directly for Rx. > > Thanks, > -yi > Thank you for your hint! I searched for hours and couldn't find the problem. It's working great now. Regards, Reiner -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html