|
@@ -407,8 +407,7 @@ void batadv_schedule_bat_ogm(struct batadv_hard_iface *hard_iface)
|
|
|
|
|
|
static void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet)
|
|
static void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet)
|
|
{
|
|
{
|
|
- if (forw_packet->skb)
|
|
|
|
- kfree_skb(forw_packet->skb);
|
|
|
|
|
|
+ kfree_skb(forw_packet->skb);
|
|
if (forw_packet->if_incoming)
|
|
if (forw_packet->if_incoming)
|
|
batadv_hardif_free_ref(forw_packet->if_incoming);
|
|
batadv_hardif_free_ref(forw_packet->if_incoming);
|
|
if (forw_packet->if_outgoing)
|
|
if (forw_packet->if_outgoing)
|