netfilter: kill ulog targets
[deliverable/linux.git] / net / mac80211 / mesh_pathtbl.c
index 7d050ed6fe5a4ec879bc9711c088db8360154448..cf032a8db9d78e9c13fe9df1ee2f2c35dbe8ec62 100644 (file)
@@ -287,8 +287,10 @@ static void mesh_path_move_to_queue(struct mesh_path *gate_mpath,
        struct sk_buff_head failq;
        unsigned long flags;
 
-       BUG_ON(gate_mpath == from_mpath);
-       BUG_ON(!gate_mpath->next_hop);
+       if (WARN_ON(gate_mpath == from_mpath))
+               return;
+       if (WARN_ON(!gate_mpath->next_hop))
+               return;
 
        __skb_queue_head_init(&failq);
 
This page took 0.026192 seconds and 5 git commands to generate.