Antonio Quartulli wrote:
- memcpy(roam_adv_packet->src,
bat_priv->primary_if->net_dev->dev_addr, ETH_ALEN);
Again, Nack.
This is _definitely_ not allowed. Please use the primary_if != NULL that you got through primary_if_get_selected instead of dereferencing bat_priv->primary_if directly.
Kind regards, Sven