On Friday 04 March 2016 16:50:43 Sven Eckelmann wrote:
batadv_send_outstanding_bat_ogm_packet (and later send to the mentioned function via batadv_schedule_bat_ogm). Also batadv_add_bcast_packet_to_list doesn't increase the reference counter for if_incoming before adding to the forward packet. So I would just say that the reference counting for batadv_hard_iface is broken.
Ah, just saw that batadv_primary_if_get_selected already increased the reference counter. So it is not as easy as I said.
Kind regards, Sven