|
@@ -616,7 +616,8 @@ batadv_purge_outstanding_packets(struct batadv_priv *bat_priv,
|
|
* we delete only packets belonging to the given interface
|
|
* we delete only packets belonging to the given interface
|
|
*/
|
|
*/
|
|
if ((hard_iface) &&
|
|
if ((hard_iface) &&
|
|
- (forw_packet->if_incoming != hard_iface))
|
|
|
|
|
|
+ (forw_packet->if_incoming != hard_iface) &&
|
|
|
|
+ (forw_packet->if_outgoing != hard_iface))
|
|
continue;
|
|
continue;
|
|
|
|
|
|
spin_unlock_bh(&bat_priv->forw_bcast_list_lock);
|
|
spin_unlock_bh(&bat_priv->forw_bcast_list_lock);
|